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

User menu BackHandler is not supported #143

Open
JeffGreiner-eaton opened this issue Sep 19, 2024 · 1 comment
Open

User menu BackHandler is not supported #143

JeffGreiner-eaton opened this issue Sep 19, 2024 · 1 comment
Labels
brightlayer-ui bug Something isn't working

Comments

@JeffGreiner-eaton
Copy link
Collaborator

JeffGreiner-eaton commented Sep 19, 2024

Describe the bug / expected behavior

Navigating to User Menu examples or playground throws browser console warnings - BackHandler is not supported on web and should not be used. Additional warnings display running dev locally with the above mentioned plus selectable prop is deprecated, focusable is deprecated, TouchableWithoutFeedback is deprecated, props.pointerEvents is deprecated and textAlignVertical is deprecated.

Just logging this as a known issue in case that a user might observe this warning/errors.
The react-native-web deprecated this. react-navigation/react-navigation#11316

What are the steps to reproduce?

  1. Go to... https://brightlayer-ui-components.github.io/react-native/components/user-menu/examples
  2. open dev tools
  3. repeat running locally to see the additional deprecated items

Screenshots / Screen recording

image

Code snippet / Link to minimum reproduction example

CODE HERE

Your environment information

Suggested fix

Anything else to add?

@JeffGreiner-eaton JeffGreiner-eaton added bug Something isn't working brightlayer-ui needs-review Issues that we would like to revisit/review labels Sep 19, 2024
@surajeaton
Copy link
Collaborator

@surajeaton surajeaton removed the needs-review Issues that we would like to revisit/review label Sep 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
brightlayer-ui bug Something isn't working
Development

No branches or pull requests

2 participants