-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
fix(datepicker): lag on datepicker in a modal re-alignment after scrolling #2993
Comments
Any pop-ups elemens has reposition on zone stable event, with ngv4 I will try to rewrite positioning, to work outside zone at all |
+1 some issue, it seems 'this._ngZone.onStable.subscribe(() =>{})' keeps ticking. |
This isn't just limited to popups; it seems to affect all scrolling. I've got a scenario where opening a They do get removed when navigating away from the page, but until that point, we have what ought to be considered a resource leak. If these handlers are needed for the modal, then calling |
* reafctor(positioning): add popper.js and migrate it to typescript * temporary disable tslint for popper * feat(position): refactored base functionality * update * feat(positioning): flip on overflow added (dirty) * refactor(positioning): add logic of arrow position correcting * refactor(positioning): add shift logic. placement: bottom left/bottom right * refactor(positioning): refactor logic of real-time processing events to avoid memory leaks * refactor(positioning): add types for all methods(minimal solution) && fix tslint errors * refactor(positioning): optimize and fix blur text on tooltip/popover * refactor(positioning): add auto class placement * refactor(positioning): clean up the code * refactor(positioning): unit tests are fixed * refactor(positioning): fix incorrect styles on bootstrap 3 && fix arrow in popovers when auto * refactor(positioning): fix tests for sauce * refactor(positioning): fix typeahead dropup issue * refactor(positioning): fix center for arrow on shift * refactor(positioning): fix tooltip out of screen on mobile * refactor(positioning): refactor modifiers flow * fix(tooltip): back css style Closes #3303 Closes #2993 Closes #4470
This was marked as solved but is already deployed ? I'm using 3.3.0 but still having the same issue and this is not happening only in a modal. Please I really need this. |
Moved to 4.1.1 and still same issue. |
* reafctor(positioning): add popper.js and migrate it to typescript * temporary disable tslint for popper * feat(position): refactored base functionality * update * feat(positioning): flip on overflow added (dirty) * refactor(positioning): add logic of arrow position correcting * refactor(positioning): add shift logic. placement: bottom left/bottom right * refactor(positioning): refactor logic of real-time processing events to avoid memory leaks * refactor(positioning): add types for all methods(minimal solution) && fix tslint errors * refactor(positioning): optimize and fix blur text on tooltip/popover * refactor(positioning): add auto class placement * refactor(positioning): clean up the code * refactor(positioning): unit tests are fixed * refactor(positioning): fix incorrect styles on bootstrap 3 && fix arrow in popovers when auto * refactor(positioning): fix tests for sauce * refactor(positioning): fix typeahead dropup issue * refactor(positioning): fix center for arrow on shift * refactor(positioning): fix tooltip out of screen on mobile * refactor(positioning): refactor modifiers flow * fix(tooltip): back css style Closes valor-software#3303 Closes valor-software#2993 Closes valor-software#4470
* reafctor(positioning): add popper.js and migrate it to typescript * temporary disable tslint for popper * feat(position): refactored base functionality * update * feat(positioning): flip on overflow added (dirty) * refactor(positioning): add logic of arrow position correcting * refactor(positioning): add shift logic. placement: bottom left/bottom right * refactor(positioning): refactor logic of real-time processing events to avoid memory leaks * refactor(positioning): add types for all methods(minimal solution) && fix tslint errors * refactor(positioning): optimize and fix blur text on tooltip/popover * refactor(positioning): add auto class placement * refactor(positioning): clean up the code * refactor(positioning): unit tests are fixed * refactor(positioning): fix incorrect styles on bootstrap 3 && fix arrow in popovers when auto * refactor(positioning): fix tests for sauce * refactor(positioning): fix typeahead dropup issue * refactor(positioning): fix center for arrow on shift * refactor(positioning): fix tooltip out of screen on mobile * refactor(positioning): refactor modifiers flow * fix(tooltip): back css style Closes valor-software#3303 Closes valor-software#2993 Closes valor-software#4470
This is still an issue. There is a nasty ~1s lag between scrolling and the datepicker jumping to the new scroll location. |
i am using "ngx-bootstrap": "^5.6.1", still i am facing this issue. date picker panel is moving while scrolling and not staying with text input box. |
Bug description or feature request:
If you have a datepicker in a modal, and then scroll the modal the datepicker is left behind. After a long pause (maybe 10 seconds), the datepicker will jump back to the input. If you click the datepicker that also causes it to jump to the input.
Versions of ngx-bootstrap, Angular, and Bootstrap:
ngx-bootstrap: 1.9.3
Angular: 4.3.2
Bootstrap: bootstrap-sass 3.3.7
Build system: Angular CLI, System.js, webpack, starter seed:
Webpack
yo angular2-typescript generator version 0.8.1.
The text was updated successfully, but these errors were encountered: