react-selectable-fast
react-selectable-fast copied to clipboard
Make selectbox invisible if its size is zero
This PR makes the Selectbox invisible by setting its display property to none, iff both width and height of the box is zero.
This avoids rendering a strange dot at the top-left position of the SelectableGroup.
Thank you and regards.
This pull request is being automatically deployed with Vercel (learn more). To see the status of your deployment, click below or on the icon next to each commit.
🔍 Inspect: https://vercel.com/skymk1/react-selectable-fast/4gvmvde7g ✅ Preview: https://react-selectab-git-fork-zk-phi-avoid-rendering-zerowidth-31cb18.skymk1.now.sh
@valerybugakov please merge, simple one line fix for annoying bug