Stephen Short
Stephen Short
In my case, adding `event.stopPropagation()` above `scopeTab` here resolves the issue: https://github.com/reactjs/react-modal/blob/68af7ecdd79993dfcc1508587f1e145465f28f85/src/components/ModalPortal.js#L278 I noticed that it is calling the tabbable helper twice to get all tabbable components, the first call...
@diasbruno I actually was digging at this a bit more, and found some of the old code in a ModalFactory component I wrote a couple years back as I was...
@diasbruno Yeah I was doing something like this: ``` const ModalComponent = ModalUtil.getModal(modalType); modalDisplay = ( ); ``` Where `` was ultimately calling: ``` ModalUtil.ModalFactory( modalProps.onCloseModal, , MODAL_TYPE_IDENTIFIER_CONSTANT ); ```...
Yeah, to be honest, I'm not sure why it was propagated upwards. I briefly looked through the `Modal.js` code and `ModalPortal.js` code and in my codebase I can confirm that...