-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Earthbar: click outside a tab to close it #36
Comments
Because the Earthbar's presentation is meant to be determined by the app using it (it could be horizontal, vertical, tabs, a drawer…) I think doing this in Twodays Crossing might be the right place actually. Baking into this library would be making too much of an assumption, imo. |
@sgwilym I can't find a way to do this from outside of react-earthstar. My goal was to make a giant div that would cover the entire screen, sitting just behind the tab panel, with an onClick event that closes the tab. I ran into some difficulties:
Ways for React-earthstar to help
|
Maybe I'll have to do both.
|
As seen in earthstar-project/twodays-crossing#5 !
The text was updated successfully, but these errors were encountered: