React Native for Web doesn't fire
TomOMara opened this issue · 2 comments
TomOMara commented
Hi Jake, cool library!
This works really well on ios, but when testing the readme example in a react-native-web application, the console log didn't fire.
export default function MyComponent() {
const ref = useClickOutside<View>(() => console.log('clicked outside A'));
return (
<View ref={ref}>
<Text>Test</Text>
</View>
);
}
Any thoughts?
TomOMara commented
Presumably latest version needs to be released on npm?