This repository has been archived by the owner on Sep 5, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
mdSelect: flickering with ngMessages - regression #7636
Comments
topherfangio
added
the
P4: minor
Minor issues. May not be fixed without community contributions.
label
Mar 18, 2016
@topherfangio, I've created a pull request to fix this issue. |
gmoothart
pushed a commit
to gmoothart/material
that referenced
this issue
Apr 5, 2016
To properly prevent ngMessages from showing up on select opening, we have to stop blur event propagation to ngModel listener. To be close to mdInput behaviour, we do it only, when mdSelect was opened. closes angular#7636 Closes angular#7646
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
mdSelect error message provided by ngMessages flickers when opening the select pop up on Firefox and Chrome on Linux, other browsers weren't tested.
Demo can be found at http://codepen.io/anon/pen/grmWOe.
Steps to reproduce:
Expected result: "required" message should be not visible before select closes without the selection.
Current result: "required" message is visible in background, when the select is opened.
This issue was already fixed once in #5879, but those changes were removed in dc8f388. After that, fix for this issue was added in different form in 8d4e7c2, but I don't think that it works properly.
Tested with jQuery 2.2.2, Angular 1.5.2 and Angular Material 1.1.0-rc1.
The text was updated successfully, but these errors were encountered: