Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WebComponents support #2808

Closed
inqb opened this issue Oct 2, 2024 · 1 comment
Closed

WebComponents support #2808

inqb opened this issue Oct 2, 2024 · 1 comment

Comments

@inqb
Copy link

inqb commented Oct 2, 2024

Subject of the issue

Grid widgets are 100% width. Dragging the widget works, but the drop target doesn't seem to (other widgets reposition instantly, as if you weren't hovering anything over them). Dropping obviousy doesn't work either (I guess due to the hovering not working).
Might be related to #540

Your environment

Gridstack 10.3.1
Chrome Version 129.0.6668.90 on Windows Server 2022 Version 21H2

Steps to reproduce

https://jsfiddle.net/fzx0jrb6/

Expected behavior

Grid widgets having defined width; drag'n'drop working

@inqb
Copy link
Author

inqb commented Oct 4, 2024

Oh damn. Should've included the styles inside the component, not on the top level.
For anyone interested: https://jsfiddle.net/jt1ofkp0/

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

No branches or pull requests

2 participants