Unable to drag an element if style has bottom or right values
Question
Hi @artf ,
If any component CSS has bottom or right values , not able to drag them. Values are generating as NaN. Attached the screenshot for your reference.

Answers (3)
Can you create a reproducible demo?
Can you create a reproducible demo?
Hi @artf
Demo link is here https://jsfiddle.net/fn43hpj1/2/
You can check the 'Popup' component. Since in Draggable mode style gets overridden, I'm getting the style and update onRender method.
Since in Draggable mode style gets overridden, I'm getting the style and update onRender method.
Yeah, that will be fixed in the next release, I'll check later with your example
Related Questions and Answers
Continue research with similar issue discussions.
Issue #3382
Not able to add more than 2 projects under free version
WARNING READ and FOLLOW next 3 steps, then REMOVE them before posting the issueFollow CONTRIBUTING Guidelines https://github.com/artf/grape...
Issue #3161
Editor Undo is removing collection and unable to replace the component
The collection of the selected component before Undo The collection of the selected component after Undo Code to replace the component with...
Issue #3675
Badges can obscure elements content even when there is room below the element
Version: 0.17.23 Are you able to reproduce the bug from the demo?[x] Yes[ ] No Its possible for the badge to obscure the content of the ele...
Issue #3359
Double click copy bug.
When I click in one element, next second element first element clone to second element and lost all styles. Can You help me?
Paid Plugins That Match This Issue
Curated by issue keywords and label relevance to help you ship faster.
Loading paid plugin recommendations...
Check the open-source GrapesJS plugins on GitHub or run a quick search in our free catalog.
Browse free plugins βPremium plugins ship with support, regular updates, and production-ready features β save days of integration work.
Browse premium plugins βRelated tutorials
In-depth guides on the same topic.
Tutorial
Vanilla GrapesJS vs GrapesJS With Plugins: What You Actually Get Out of the Box (2026)
New to GrapesJS? See exactly what the stock editor gives you, where it falls short, and which plugins close the gaps β a beginner-friendly 2026 comparison
Tutorial
GrapesJS DevTools: A Developer Panel Inside Your Editor
If you've ever debugged GrapesJS with console.log(editor.getSelected()) and a dozen throwaway event listeners β this post is for you.
Tutorial
How We Built Composeit in Record Time Using GrapesJS Shadcn
Bypass foundational builder boilerplate and focus on what truly matters.
Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.