How to use the nav-frontend-modal.setAppElement function in nav-frontend-modal

To help you get started, we’ve selected a few nav-frontend-modal examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github FluidSense / SeatMaster / frontend / src / components / DateInputField / index.tsx View on Github external
public componentDidMount = () => {
    // React wants this for rendering reasons
    Modal.setAppElement('body');
  }
github FluidSense / SeatMaster / frontend / src / components / Modal / index.tsx View on Github external
public componentDidMount = () => {
    Modal.setAppElement('body');
  }

nav-frontend-modal

<!-- AUTO-GENERATED-CONTENT:START (INSTALL) -->

MIT
Latest version published 2 years ago

Package Health Score

64 / 100
Full package analysis

Popular nav-frontend-modal functions

Similar packages