-
Notifications
You must be signed in to change notification settings - Fork 68
Trouble with trying to append Dropdown Component to document.body #44
Comments
I think you can use |
Thanks for the prompt reply! I'll give that a whirl. :) |
OK... anyone else struggling with this. This seemed to work. By updating the render method of the
|
Hi again Alex, That all worked well, but have now got an interesting problem, in that now they're separated the onBlur and onFocus events don't work as initially intended. Obviously now that they're no longer in the scope of one single focusable/blur-able element... I'm a React beginner and can't think of a way around this. Any ideas? |
Hi - great work Alex!
Have come across an issue where I need the input component in a container that has it's overflow set to hidden, so will need to escape that container and render the dropdown to the body in order for everything to display correctly.
Was looking into react-tether to provide the magic for this, however RT requires two child elements, the second of which is pulled out of it's current container and appended to the document's body. The way your dropdowns currently work, seems to have everything nested within the dropdown component.
Any way to decouple this, or are you aware of another way around this?
Thanks,
Jon
The text was updated successfully, but these errors were encountered: