This repository has been archived by the owner on Apr 19, 2021. It is now read-only.
Configurable HTML element #23
Comments
thanks for the nice words, I'm glad this helped! the element which we use to wrap can definitely be made configurable. It sounds like you want to track visibility of an inline element - is that right? something like an inline image or an anchor..? I can have a play with something, and put up a PR. |
@TomiTakussaari would appreciate if you could take that branch for a spin, and see if it works for you! |
hm, actually, this doesn't look too controversial to me. I'll publish this as a new version, and then let me know how you get on. |
published as |
Yeah, I needed to track inline image, and 1.5.0 seems to do the trick, thanks! |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Thanks for the library, solved one of my problems nicely.
However, currently react-on-visible always renders
<div>
, but<div>
is not valid child everywhere, eg. under<p>
.Could this element be made configurable ?
The text was updated successfully, but these errors were encountered: