mantinedev / mantine

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

Mantine removes the mobile filter button when used with Elastic's Search UI #3282

Closed 684efs3 closed 1 year ago

684efs3 commented 1 year ago

What package has an issue

@mantine/core

Describe the bug

If I install https://codesandbox.io/s/national-parks-example-kdyms (Elastic Search UI) on NextJS and add Mantine, then the mobile filter button will disappear.

image

What version of @mantine/hooks page do you have in package.json?

5.9.6

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

https://codesandbox.io/s/national-parks-example-kdyms?resolutionWidth=320&resolutionHeight=675

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

None

Possible fix

No response

rtivital commented 1 year ago

The sandbox that you've sent includes the button

Снимок экрана 2023-01-05 в 10 57 13
684efs3 commented 1 year ago

I apologize - wrong sandbox. That one does not have Mantine installed. Here is the right one that I have reproduced: https://codesandbox.io/p/github/684efs3/mantine-search

rtivital commented 1 year ago

Your sandbox renders only an empty screen

Снимок экрана 2023-01-05 в 21 47 52
684efs3 commented 1 year ago

Sorry try this: https://codesandbox.io/p/github/684efs3/mantine-search/draft/muddy-mountain?file=%2FREADME.md

rtivital commented 1 year ago

Your filters button has a hidden attribute. If you remove it, then the button will be visible. Elements with hidden attribute are hidden by normalize.css. If it is unwanted behavior, remove withNormalizeCSS prop from MantineProvider.

684efs3 commented 1 year ago

Thank you!!!! I love Mantine. Am very happy I can use it with other libraries. Thanks for being so responsive.