We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 898f54d + 89d1fca commit 42da5f3Copy full SHA for 42da5f3
packages/react-notion-x/src/components/search-dialog.tsx
@@ -11,8 +11,6 @@ import { SearchIcon } from '../icons/search-icon'
11
import { cs } from '../utils'
12
import { PageTitle } from './page-title'
13
14
-// TODO: modal.default.setAppElement('.notion-viewport')
15
-
16
export class SearchDialog extends React.Component<{
17
isOpen: boolean
18
rootBlockId: string
packages/react-notion-x/src/third-party/modal.tsx
@@ -1,3 +1,5 @@
1
import Modal from 'react-modal'
2
3
+Modal.setAppElement('.notion-frame')
4
+
5
export { Modal }
0 commit comments