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

Form Datepicker in Modal #4814

Closed
Assignees

Comments

@ironilyas
Copy link

The buttons for moving to the next month in the modal window do not work

@Hiws
Copy link
Member

Hiws commented Feb 24, 2020

They appear to be working for me in Chrome.
https://codepen.io/Hiws/pen/JjdEXOZ

Which browser are you using?

@ironilyas
Copy link
Author

Firefox

@ironilyas
Copy link
Author

In firefox do not work also https://codepen.io/Hiws/pen/JjdEXOZ

@Hiws
Copy link
Member

Hiws commented Feb 24, 2020

Just tested it on Firefox 73 and the buttons appear to be working fine here as well.

Which version are you on, and what OS?

@ironilyas
Copy link
Author

Firefox Developer Edition version is 74.0
Operating System: Mac OS (10.15) | Browser Engine: Gecko (74.0)
In chrome works, but on firefox no

@Hiws
Copy link
Member

Hiws commented Feb 24, 2020

Tested it in Firefox Developer Edition 74.0b7 on windows and looks to be working.

This might be a MacOS related issue, which i sadly can't test.

Is this something you could test? @jackmu95

@ironilyas
Copy link
Author

Checked on windows and everything works. So it doesn't work on Mac OS

@jacobmllr95
Copy link
Member

@Hiws I can confirm that it closes the modal on Firefox and safari on MacOS.
I will look into this soon.

@tmorehouse
Copy link
Member

tmorehouse commented Feb 24, 2020

@jackmu95 This might be due to clicking on an inner element within the button (i.e. the SVG).

Perhaps we should switch the 'click' event listener to '!click' (capture mode) for the month navigation buttons.

@jacobmllr95
Copy link
Member

@tmorehouse Yeah, that was my first idea. Will try it soon.

@tmorehouse
Copy link
Member

I wonder if the b-form-spinbutton's + and - buttons have the same symptom.

@tmorehouse
Copy link
Member

Also, try checking on the dev docs, and PR #4783 deploye preview docs to see if the symptom still persists.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment