etn-ccis / blui-react-native

This monorepo includes all the Brightlayer UI's react native resources
1 stars 2 forks source link

User menu BackHandler is not supported #143

Open JeffGreiner-eaton opened 1 week ago

JeffGreiner-eaton commented 1 week ago

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. https://github.com/react-navigation/react-navigation/issues/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?

surajeaton commented 1 week ago

https://github.com/react-navigation/react-navigation/issues/11316#issuecomment-1496523317