Skip to content

Conversation

@shreyashrpawar
Copy link

I have opened the issue recently. Issue: #139

Previously, we had to manually change the positioning values from the right panel. But, now you can also do that by dragging the elements to the new position.

Screencast.from.2025-12-16.12-51-40.mp4

@ruchamahabal ruchamahabal changed the title #139 feature:drag elements for changing position feat: move absolute/fixed positioned freely on the canvas Dec 18, 2025
Copy link
Member

@ruchamahabal ruchamahabal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello, thanks for the PR

The updates look janky if directly done on the studio component. That's why there is a ComponentEditor in place that overlays the studio component for operations.

Can you replicate the handleMove function & related functionality from Frappe Builder here because the usage is similar:
https://github.com/frappe/builder/blob/34e0ae2b39c9209e6bbbe6b4a76ff40815d32157/frontend/src/components/BlockEditor.vue#L252-L307

Also, you seem to have changed the yarn.lock significantly. Since there are no dependency changes in this PR, can you leave it out?

shreyashrpawar added a commit to shreyashrpawar/studio that referenced this pull request Dec 18, 2025
shreyashrpawar added a commit to shreyashrpawar/studio that referenced this pull request Dec 18, 2025
shreyashrpawar added a commit to shreyashrpawar/studio that referenced this pull request Dec 18, 2025
shreyashrpawar added a commit to shreyashrpawar/studio that referenced this pull request Dec 18, 2025
@shreyashrpawar
Copy link
Author

@ruchamahabal I have made the changes as you suggested.

@Simoh8
Copy link

Simoh8 commented Jan 8, 2026

@shreyashrpawar any updates on this feature ?, can i contribute to it

@shreyashrpawar
Copy link
Author

@Simoh8 The contribution has been made with the mentioned suggestions. Waiting to be merged.

@Simoh8
Copy link

Simoh8 commented Jan 8, 2026

@shreyashrpawar Okay cool

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants