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

If the outer layer is set to relative positioning, more positions are problematic #1428

Open
Hello-job opened this issue Oct 23, 2023 · 1 comment

Comments

@Hello-job
Copy link

Version

Test Environment

Current Behavior

// Write example code

Expected Behavior

@WhiteSage
Copy link

WhiteSage commented Oct 3, 2024

I am also having this problem, each outter div set to position: relative adds offset to the more floating layer, so it gets further and further away from the correct position...

Edit: I have found a very hacky workaround, by manually repositioning the popup on the 'clickMoreEventsBtn' event listener with respect to a fixed parent element, by previously saving the clicked month day grid element through a 'click' event listener. I would appreciate, however, an official solution OR a guide of how to isolate the calendar from the influence of relative positioned parents.

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

No branches or pull requests

2 participants