Comments (4)
Got it, let me get back to you when I encounter it again! and give more detail.
from react-native-listener.
Can you give some example code to illustrate what you mean?
from react-native-listener.
I'm trying to remember the exact issue. It was something like:
<Custom>
<NativeListener>
</NativeListener>
</Custom>
and I needed to do this:
<Custom>
<div>
<NativeListener>
</NativeListener>
</div>
</Custom>
So in the first example Custom will not catch events that bubble up (like onClick) from within the NativeListener. This behavior starts happening after the first update to the components. I think that's what the issue was. It's hard to remember. It's been a few months.
from react-native-listener.
Thanks for trying. It doesn't make much sense, given my understanding of event bubbling and React. NativeListener
isn't creating any new elements, it's just outputting this.props.children
in its render()
method.
from react-native-listener.
Related Issues (13)
- Component has is showing as Unknown using react chrome dev tool
- ContextMenu not registering on Windows HOT 1
- Migrate from React.PropTypes HOT 2
- need to implement componentDidUpdate
- JSFiddle with example is not working
- Adding more events
- Add support for wheel event
- Update to react 0.14 HOT 4
- NativeListener doesn't compile to ES5 due to bad static var declaration HOT 1
- What other event listener properties are supported? HOT 1
- Uncaught Error: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined. HOT 1
- typescript types HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-listener.