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
Issue with Red Color Popover on Item Click in Versions 1.4.3 and Above #2016
Comments
I'm pretty sure its intended in order to maintain interactivity. |
More over, it prevents clicks inside the container. See the behavior in codesandboxes: Click is is still possible Normal wayAdding draggableCancel class to button. Strange wayWhen started dragging container on a button on release the click works %) It has to be fixed, as for me. |
It is caused by #1923 @tantawyk @STRML guys you were discussing simple clicks which now are broken @STRML wrote:
Why is it important? Thank you in advance. |
It's important not to render a placeholder on a click - otherwise you would see a transparent red widget flash when you're just trying to click a button. It appears we have indeed actually broken this in 1.4.3+. I am swamped with other commitments right now, if you can identify the issue please open a PR. Please include a test in that PR so we don't break it again! This interaction is complex. |
Thank you for your reply. Once I have spare time I'll try to investigate it deeply. |
For me there seems to be the issue with Z-index, whenever I manually add a Z-index to my DOM elements it works. On click the red placeholder that appears has a Z-index of 3, so it's above the actual rendered DOM elements if you do not manually put a Z-index on them. |
It also appears that in 1.4.4 the red placeholder is rendered when the mouse is down not when the mouse starts moving, this along with my previous comment stating the Z-index issue creates issues, maybe this commit introduced the issue while trying to fix another issue: 57bba6b |
Describe the bug
I wanted to bring to your attention a potential issue in the recent versions (1.4.3 and newer) of your application. Upon clicking an item, a red color popover appears, and it's unclear whether this behavior is intentional or if it might be a bug.
1.4.2...1.4.3
Your Example Website or App
https://codesandbox.io/p/sandbox/silent-river-58md72
Steps to Reproduce the Bug or Issue
To demonstrate the difference, I have prepared CodeSandbox examples for both versions:
Expected behavior
By comparing these examples, you can observe the red color popover issue in the newer versions. I believe it's important to clarify whether this is an expected behavior or an unintended problem.
Thank you for your time and attention.
react-grid-layout library version
1.4.3
Operating System Version
Windows
Browser
Chrome
Additional context
No response
Screenshots or Videos
No response
The text was updated successfully, but these errors were encountered: