You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey @yatokami! 👋 I'm here to help you with any bugs, questions, or contributions you have for Dify. I'm a bot designed to assist you while you wait for a human maintainer. Let's tackle this issue together!
The issue you're experiencing with the embedded small icon not being movable in the app, while it works on the PC, might be related to platform-specific code or configurations. In the codebase, there are conditional statements that differentiate behavior between the app and PC versions using variables like isPC and isInstalledApp. These variables affect styles and layout configurations, which might influence the drag-and-drop functionality [1].
Additionally, the drag-and-drop functionality for the small icon is handled by the handleElementDrag function, which sets up event listeners for mouse events to update the position of the element being dragged [2]. It's possible that there might be differences in how these event listeners are set up or triggered in the app version compared to the PC version.
You might want to check if there are any platform-specific conditions affecting the drag-and-drop behavior in the app version or if there are any differences in how event listeners are implemented for the app.
Self Checks
Dify version
1.1.3
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
Open the app and embed the small icon.
Try to drag the icon to another position.
The icon does not move as expected.
On the PC version, dragging works correctly.
✔️ Expected Behavior
The embedded small icon should be movable in the app, just like in the PC version.
❌ Actual Behavior
No response
The text was updated successfully, but these errors were encountered: