react-selectable-fast icon indicating copy to clipboard operation
react-selectable-fast copied to clipboard

Make selectbox invisible if its size is zero

Open zk-phi opened this issue 5 years ago • 2 comments

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.

スクリーンショット 2020-06-05 16 40 27

Thank you and regards.

zk-phi avatar Jun 05 '20 07:06 zk-phi

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

vercel[bot] avatar Jun 05 '20 07:06 vercel[bot]

@valerybugakov please merge, simple one line fix for annoying bug

JakeAngell avatar Jul 27 '23 12:07 JakeAngell