-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
4.x: style="position: sticky" messing up Dragging #1704
Labels
Comments
Here as a comparison the same code with gridstack.js 3.3.0 that is working: |
I see the issue https://jsfiddle.net/adumesny/esyLr4hf/ |
adumesny
changed the title
Dragging items from sticky source into grid only on top of grid
4.x: style="position: sticky" messing up Dragging
Apr 4, 2021
adumesny
added a commit
to adumesny/gridstack.js
that referenced
this issue
Apr 11, 2021
fix gridstack#1704 * introduced in 4.x, 'dropover' no longer checks for document.documentElement.scrollTop since we call getBoundingClientRect() which handles being scrolled already.
adumesny
added a commit
to adumesny/gridstack.js
that referenced
this issue
Apr 11, 2021
fix gridstack#1704 * introduced in 4.x, 'dropover' no longer checks for document.documentElement.scrollTop since we call getBoundingClientRect() which handles being scrolled already.
fixed in next release. don't forget to donate if you find lib useful! |
3 tasks
Thank you very much! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Subject of the issue
I am trying to make a lot of custom widgets to add to multiple grids. In order to access all of the widgets these stay in a sticky positioned
<div>
(position: fixed
behaved the same way). Regardless of using float option true/false in the second grid it is not possible to position the dragged in widget under the other widgets.Your environment
Steps to reproduce
https://codepen.io/Dodger77/pen/KKaaaJN (HTML5 version with
float: true
)https://codepen.io/Dodger77/pen/qBRRvEm (jQuery version with
float: false
)Expected behavior
Get new dragged in widgets positioned under the existing widgets.
Actual behavior
New dragged in widgets will always be on top of the second grid when dragged in.
Gridstack.js.float-and-sticky-2021-04-01_10.55.21.mp4
The text was updated successfully, but these errors were encountered: