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

Popup for Scheduler event can't be dragged with a single mouse click #33

Closed
SergeyMaltsev opened this issue Nov 19, 2019 · 2 comments
Closed
Labels
bug Something isn't working not reproducible

Comments

@SergeyMaltsev
Copy link
Contributor

SergeyMaltsev commented Nov 19, 2019

Reported here
https://www.bryntum.com/forum/viewtopic.php?f=44&t=12653

Can be reproduced in https://www.bryntum.com/examples/scheduler/ with this config.
Popup can be dragged/moved with second mouse click on it only.

   listeners : {
        eventClick : (event) => {
            const popup = new Popup({
                header    : 'Popup-Header',
                draggable : true,
                cls       : 'scheduler-popup-w',
                html      : `Popup-Body`
            });
            popup.activeTarget = event.event.srcElement;
            popup.showBy(event.event.srcElement);
        }
    }
@SergeyMaltsev SergeyMaltsev added the bug Something isn't working label Nov 19, 2019
@SergeyMaltsev
Copy link
Contributor Author

Adding focusable : true, to Popup config is workaround for this issue.

@matsbryntse
Copy link
Member

Seems to work fine in latest

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working not reproducible
Projects
None yet
Development

No branches or pull requests

2 participants