[BUG] flickering when switching between position relative/absolute during drag
See original GitHub issue2. Describe the bug
When changing properties like position absolute
or fixed
from relative
while dragging the layout projection seems to flicker. When setting fixed
specifically it looks like the coordinates don’t get applied correctly.
3. IMPORTANT: Provide a CodeSandbox reproduction of the bug
4. Steps to reproduce
Steps to reproduce the behavior:
- Drag an item in/out of the container
5. Expected behavior
Expect the layout to not shift or flicker when changing position
during a drag.
6. Video or screenshots
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
html - Absolute Positioning Causing Flickering - Stack Overflow
I have two pages that are making use of absolute and relative positioned elements at the top of the page. The issue is...
Read more >Why moving elements with translate() is better than pos:abs ...
In modern days we have two primary options for moving an element across the screen: using CSS 2D transforms and translate() ...
Read more >Content Jumping (and How To Avoid It) | CSS-Tricks
To fix it, I used the browser's DevTools to measure the height of the resulting content and hardcoded it as a min-height for...
Read more >4 reasons your z-index isn't working (and how to fix it)
Solution: Move the modal outside of the content parent, and into the main stacking context of the page. ... Now, the modal element...
Read more >1585378 - CSS position: sticky causes flicker while scrolling
Attempt to scroll (any direction, any method: trackpad, wheel, shift+wheel, drag on scrollbar). Actual results: You'll see substantial flickering of the content ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The error should be fixed in 2.4.1
On Thu, 13 Aug 2020 at 02:03, Travis Arnold notifications@github.com wrote:
This Codesandbox might help showcase it better. Just tried to do similar things I had in my complex demo by changing some values in the minimal demo you made while dragging and trying to use the
layout
prop.