question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

datepicker HostListener mouse issue v27

See original GitHub issue

Having a @HostListener('mouseup') or @HostListener('window:mouseup') breaks datepicker. I can’t tell yet what’s doing it but it seems to be redrawing the days on every event. Having a @HostListener('mousemove') causes similar redraws but at least it still works when the mouse isn’t moving. The HostListener can be on any parent component and still causes the same issue. I don’t believe this was an issue in v26

Try clicking a date on the calendar. http://plnkr.co/edit/wC4XeI8OOIBAMLo9yeFc?p=preview

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
scttcpercommented, Jul 11, 2017

Thanks @maxokorokov @pkozlowski-opensource this is fixed on 28 🦄

0reactions
pkozlowski-opensourcecommented, Jul 10, 2017

Fixed via #1551

Read more comments on GitHub >

github_iconTop Results From Across the Web

event mouseout on datepicker - jquery - Stack Overflow
This code will check if the mouse leaves the datepicker div and then close it if the mouse did leave. The code checks...
Read more >
View Raw - UNPKG
... engine ### Bug Fixes * **accordion|tabs:** fix cursor style when disabled ... migrated to Angular 8 - to datepicker and typeahead added...
Read more >
Angular 2 CRUD, modals, animations, pagination ...
The first one is a simple one that toggles the background color of an element when the mouse enters or leaves. It 's...
Read more >
angular/angular - Gitter
I am trying to create a custom validator to use a few fields which I would like to make required when another condition...
Read more >
ngx-bootstrap-ci | Yarn - Package Manager
ci: update dep on npm-run-all to fix link to event-stream 3.3. · components-spec: fix paths in spec. · datepicker: cursor fixes for weeks...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found