Temzasse / react-modal-sheet

Flexible bottom sheet component built with Framer Motion to provide buttery smooth UX while keeping accessibility in mind 🪐
https://temzasse.github.io/react-modal-sheet/
MIT License
783 stars 74 forks source link

Add simple mergeRefs function #112

Closed blackMoja closed 1 year ago

blackMoja commented 1 year ago

Since react-merge-refs 2.0.0, we have confirmed that cjs build versions are not supported.

Additionally, an issue occurred in the current Next.js + SSR situation, and as a result of debugging, it was an issue that occurred in the react-merge-refs library.

Therefore, we applied a simple refs merge function.

Temzasse commented 1 year ago

Thank you! 👍

I'll try to merge and release this during next week.

blackMoja commented 1 year ago

Thank you 🙂

If additional improvements are needed for the type of function, please leave a comment and we will apply it.