For sure! That's a really cool solution! I agree that handling clicks outside is important. I didn't go down that road because it strayed from the purpose of the article and some UI's don't implement it. ie. npmjs.com.
FWIW I am/was doing something like this, a pattern I see in React.
For sure! That's a really cool solution! I agree that handling clicks outside is important. I didn't go down that road because it strayed from the purpose of the article and some UI's don't implement it. ie. npmjs.com.
FWIW I am/was doing something like this, a pattern I see in React.
Heck yah, that works great! Thanks for following up.
First, thanks for a good post. And, i believe, you can doing something like