Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow slider to work in popup window by registering event listener with Slider's ownerDocument #137

Open
bsteinbk opened this issue May 25, 2021 · 0 comments

Comments

@bsteinbk
Copy link

bsteinbk commented May 25, 2021

Problem or feature description: Mouse events are processed in parent window and not in popup window opened via window.open() this results in the slider not working properly.

Steps to reproduce (for problems):

    const childWindow = window.open(url, "", `width=800,height=600,menubar=no,resizable=yes,scrollbars=no,status=no,location=no`);
    const reactConnectionDiv = childWindow.document.getElementById("root");
    ReactDOM.render( <>*** component that contains Slider ***</>, reactConnectionDiv);

Versions (for problems): All.

React-Compound-Slider: 3.3.1

React:^16.8.0

Browser: Chrome Version 90.0.4430.212 (Official Build) (64-bit)

Operating System: Windows 10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant