()
| 249 | ); |
| 250 | |
| 251 | function getModalManager() { |
| 252 | if (propsManager) return propsManager; |
| 253 | if (scroll) { |
| 254 | // Have to use a different modal manager since the shared |
| 255 | // one handles overflow. |
| 256 | if (!modalManager.current) |
| 257 | modalManager.current = new BootstrapModalManager({ |
| 258 | handleContainerOverflow: false, |
| 259 | }); |
| 260 | return modalManager.current; |
| 261 | } |
| 262 | |
| 263 | return getSharedManager(); |
| 264 | } |
| 265 | |
| 266 | const handleEnter = (node, ...args) => { |
| 267 | if (node) node.style.visibility = 'visible'; |
no test coverage detected
searching dependent graphs…