Skip to content
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

[Feature request] Debug view for viewing device insets #68

Open
luisnaranjo733 opened this issue Apr 15, 2020 · 1 comment
Open

[Feature request] Debug view for viewing device insets #68

luisnaranjo733 opened this issue Apr 15, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@luisnaranjo733
Copy link

Would be awesome if this library could export a RN view that uses absolute positioning to visually show the device insets from useSafeArea().

Apps that use this library could choose to render this view in their developer scenarios to their discretion so they can visually make sure their views are interacting with the safe area in the way they would expect.

If the library maintainers think this would be a good idea, I'd be happy to open a PR for this.

@janicduplessis janicduplessis added the enhancement New feature or request label May 26, 2020
@jacobp100
Copy link
Collaborator

I think it'd be ok to add this as long as it isn't exported by default (since RN doesn't have tree shaking) - maybe if it was under something like import DebugView from "react-native-safe-area-context/DebugView"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants