Closed colburncodes closed 6 months ago
The update focuses on refining browser compatibility checks within a utility file. Specifically, it enhances the method for determining if the user's browser is Safari. This is achieved by replacing a previous condition based on iOS detection with a more direct approach using the isSafari
function. This change ensures more accurate browser identification, optimizing functionality and user experience across different platforms.
File(s) | Summary of Changes |
---|---|
src/utils/utils.ts |
Replaced isIos with isSafari() for browser check; removed isIos , added isSafari import from @floating-ui/utils/react . |
🐇✨
In the land of code, where the snippets play,
A rabbit hopped in, with changes to say.
"No more confusion, no more despair,
Safari is found, with a check so fair.
Let your tabs open, wide and new,
For I've tweaked the utils, just for you."
🌟🚀
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Summary by CodeRabbit