Firefox SingleDatePicker withPortal not usable
See original GitHub issueOn Firefox the SingleDatePicker
with the withPortal
option triggers onFocusChange
twice, once with { focused: true }
and right afterwards { focused: false }
. This makes the portal open and close in a matter of half a second, rendering the datepicker unusable.
import { SingleDatePicker } from 'react-dates';
export default ({ date, focused, onFocusChange, onDateChange }) => (
<SingleDatePicker
id="date_input"
withPortal
date={date}
focused={focused}
onDateChange={onDateChange}
onFocusChange={onFocusChange}
isOutsideRange={(day) => day.isAfter(moment())}
displayFormat="DD.MM.YYYY"
/>
);
Reproduced on Firefox Developer Edition 53.0a2 and Firefox 51.0.1.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:2
- Comments:10 (1 by maintainers)
Top Results From Across the Web
Firefox SingleDatePicker withPortal not usable #340 - GitHub
On Firefox the SingleDatePicker with the withPortal option triggers onFocusChange twice, once with { focused: true } and right afterwards ...
Read more >Fix login issues on websites that require a username and ...
If you can log in to a website manually, but can't save or use saved usernames and passwords, see Usernames and passwords are...
Read more >Select does not open dropdown onclick | Firefox supportforum
I am currently using a datepicker from jQuery UI 1.10 with a select dropdown so that the user can choose year. The "yearpicker"...
Read more >1707541 - Detectportal does not detect login page when login ...
(example network working like this: Starbucks Korea); Firefox will prompt "You need to log in to use this network", click that. Actual results:....
Read more >Cannot access my hospital's "Patient portal" with FireFox, but ...
I can access it with no problems using Google Chrome. Every time I update FireFox, something else stops working.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This should be fixed in v9.0.1!
@majapw thank you for your hard work and the quick turnaround. I really appreciate it!