Hi, can you please add this method to set to bring components forward or backward after dropping
Hello,
I would suggest you to use the Component Tools extensionSetZ
method to deal with components being put over each other, for example, if you set the z position for compnent A to 10, and for component B to 20, component A would go backward component B.
Hi,
I tried dragging a component in a vertical scroll arrangement and it drags but it doesn’t smoothly drag like it does in a vertical arrangement, could you please fix it @Mohamed_Tamer ?
Hi,
Yes, i expect the drags not to be smooth when the component is in s scrollable layout, because of the fact, the scroll would intercept touch events caused from drags, i will work on a bugfix for this.
Thank you @Mohamed_Tamer for your response,
can you please pm me, i tried to PM you but it says currently, you are not accepting PMs
Version 3.0
Changes:
- Changed the dragging mechanism
Now touch events which were being translated into drags, will not be dragged directly, but will require the developer to accept the drag first, this could help in allowing the developers to allow dragging only in case some conditions were met. This behavior can be disabled by enabling theAlwaysAcceptDrags
(Thanks @broekmancompany ) - Registered components are managed by IDs. A new
id
parameter is added for all blocks - The
DragComponent
block now has aduration
parameter - Completely rewritten the extension’s code.
- Migrated To Rush CLI for building the extension ( Thanks @Shreyash )
- Fixes non-smooth dragging when the component’s parent is a scrollable component ( i.e: HorizontalScrollArrangement or VerticalScrollArrangement ) ( Thanks @Soham_Shah )
The extension is now open source:
The extension link has been updated in the first post.
Regards,
Mohamed Tamer
I still get the version 2 extension when i download from the first post
Apparently, I didn’t correctly upload the extension, I have re-updated the topic.
Hi buddy,
What about your layout Tools extension?? @Mohamed_Tamer
Did you made any other extension which can set arrangement to full clickable like card view??
Can u improve extension move x y absolute by interpolate easy?
I am using your extension in Ai2 and having trouble with dragging to a location. Please PM me, this is documented on the Ai2 forum, Ill be happy to post whatever you need, or send privately
extension doesn’t work. white screen when loading extension. if you remove the extension, the application loads fine.
Is there a similar extension?
I also have same problem
I use this extension in 2 different apps, there’s nothing wrong with it. What version do you use? Do you use any other extensions in same project?
great aix thank you friend
vergen 2 worked with me on the aia but V3 didnt make the Screen open , if any one has V2 send it please
Please add an option to make the component draggable only in a particular layout…
Like i want my user to reposition a button but i want it to be in a box which is there not at anywhere on the screen.