mantinedev / mantine

A fully featured React components library
https://mantine.dev
MIT License
26.87k stars 1.9k forks source link

DateRangePicker's dialog jumps around #1059

Closed Eldemarkki closed 2 years ago

Eldemarkki commented 2 years ago

What package has an issue

@mantine/dates

Describe the bug

If you create a DateRangePicker and a list with data that depends on the value of the DateRangerPicker, the picker dialog will jump around. Here's a video to show the bug:

https://user-images.githubusercontent.com/38920928/159139584-965c77e9-042e-481c-94f2-d69b2bd90b78.mp4

In which browser did the problem occur

Firefox and Chrome

If possible, please include a link to a codesandbox with the reproduced problem

https://codesandbox.io/s/unruffled-cdn-xj438w

Do you know how to fix the issue

No

Are you willing to participate in fixing this issue and create a pull request with the fix

No response

Possible fix

No response

rtivital commented 2 years ago

Seems like an issue with popper.js

ercgrat commented 2 years ago

Some investigation notes on this:

rtivital commented 2 years ago

I think it does not really worth fixing, in v5 we will migrate to floating ui and disable portals by default, for now, set withinPortal={false}