million: Million either duplicate items or hide elements
What version of million
are you using?
3.0.5
Are you using an SSR adapter? If so, which one?
NextJS
What package manager are you using?
pnpm
What operating system are you using?
Linux
What browser are you using?
Firefox
Describe the Bug
As described here, when Million renders client-side components, it creates slots to wrap such components, miss-doing all styles, and even sometimes, hiding elements:
For fixing we tried the experimental option, but it seems not to work with NextJS:
const millionConfig = {
auto: { rsc: true },
rsc: true,
experimental_options: {
noSlot: true,
},
};
What’s the expected result?
It should render a single item respecting the styles given for each element.
Link to Minimal Reproducible Example
https://stackblitz.com/edit/stackblitz-starters-bwarze?file=pages%2Fpageroot.tsx
Participation
- I am willing to submit a pull request for this issue.
About this issue
- Original URL
- State: open
- Created 4 months ago
- Reactions: 3
- Comments: 18 (4 by maintainers)
Awesome, thanks a bunch! Do you have an estimated timeline for us?
This will be fixed in the next major release very soon. I’ll check with the team to track updates on this.
any updates? This issue has been awaiting a promised fix for a month
We are using app router.
We’re currently working on a fix @SalahAdDin, please bear with us. Thank you 🙌