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
Spotlight renders out to the left of the screen in Production using Remix (express server) #2107
Comments
Hi @ihpannu, you can set |
@ihpannu are you using mantine-remix-template? |
@rtivital Yes this started happening since I switched to mantine 5 and react 18 using the template provided on the website |
@rtivital another example of spotlight it's still in the dom tree |
React 18 is not supported with Remix template, downgrade to react 17 to solve these issues. |
@rtivital Rolled back to React 17 and Mantine 5.1.6 all same issues still persist. This app is running in production on Railway using remix/express server |
Well, I cannot help much, if you can reproduce an issue in mantine-remix-template and send the repo I can have a look |
@rtivital attached is the link to the repo using mantine-remix-template on GitHub https://github.com/ihpannu/mantine-remix-template |
Is supporting React 18 w/ Remix on the roadmap? |
In a long term – maybe, in short term – no. With current remix direction (server streaming as default) I doubt that it will worth the effort to support remix at all. As for current state – remix feels very unstable – we've already had to change ssr logic twice in the past 6 months, so I'm not planning to work on it any time soon until remix becomes at least a little more mature (in terms of css-in-js handling). |
@rtivital do you recommend porting over to Next.js? we cannot afford to change the UI lib at the moment and given the mantine/remix plan it doesn't seem ideal to continue using the broken framework on the production level |
Well, it's up to you, I have several next.js app running in production without any issues built with Mantine. |
@rtivital Thank you for advice |
Possibly related to #2311 |
This issue is closed for one of these reasons:
If you think that this issue was closed by mistake, and it is still an issue in version 7.0, please reopen it. |
What package has an issue
@mantine/spotlight
Describe the bug
Spotlight renders out to the left of the screen in Production using Remix (express server). Works perfectly well using in Dev environment. I had the same issue with modals but solved using within portal props and facing problems on the latest @remix and "@mantine/hooks": "^5.1.5",
Please suggest
What version of @mantine/hooks page do you have in package.json?
5.1.5
If possible, please include a link to a codesandbox with the reproduced problem
No response
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
Possible fix
No response
The text was updated successfully, but these errors were encountered: