You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there. I'm need a help. All my PopUp's open at the same time. This is my component. How can I fix this problem?
`import React, { Component, Fragment } from 'react';
import {
PopupboxManager,
PopupboxContainer
} from 'react-popupbox';
import { render } from 'react-dom';
import Cover from './Cover'
import Slider from './Slider'
export class PhotoPopUp extends Component {
constructor(props) {
super(props)
Hi @Miruzz, there should be only one instance of PopupboxContainer in your app. If there are multiple PopupboxContainer, all of them will be opened when you fire PopupboxManager.open().
Just change the content parameter of PopupboxManager.open() when you need different content to show.
Hi there. I'm need a help. All my PopUp's open at the same time. This is my component. How can I fix this problem?
`import React, { Component, Fragment } from 'react';
import {
PopupboxManager,
PopupboxContainer
} from 'react-popupbox';
import { render } from 'react-dom';
import Cover from './Cover'
import Slider from './Slider'
export class PhotoPopUp extends Component {
constructor(props) {
super(props)
}`
The text was updated successfully, but these errors were encountered: