Dash Mantine DatePicker completely hangs browser?

Hello Everyone:

Has anyone faced any “browser hanging” issues while using Dash Mantine’s Datepicker?

When I click on the Date Picker on a certain page, my browser completely stops responding, although it works perfectly fine at other places in my app. Very weird that it is only happening at one place in the app.

Any thoughts/ideas on how to go about debugging this? I see nothing in app server logs or browser console.

Thank you.

Hello @manish1022iiti,

This is due to an issue with the popover display. If it too close to where the default popup would display, then it wont work and just get stuck in an endless display loop.

The current workaround until v7 is released, is to pass the position of bottom or wherever you want it to display.

@jinnyzor Thanks once again for taking my this question too.

And interesting, glad I asked this questioned here before spending endless hours looking for it in my code or finding a workaround, haha!

Is this bug reported or mentioned in the documentation anywhere? I am sorry I failed to find it.

Thank you.

It’s a bug with v5 of mantine. They are currently working on the release for the new dmc which will use v7 of mantine.

Bugs have been reported on github for it. :slight_smile:

Ah I see. Got it. Thanks once again. :slight_smile:

1 Like