-
Notifications
You must be signed in to change notification settings - Fork 124
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
DatePicker disappears on Chrome version 73 #901
Comments
Goodmorning. We use Java 7 and GMD 1.6.2, but I have the same issue on demo sites of GMD 2.1.1 and 2.2. |
Thanks for the catch, will be having a bug fixing session as soon as possible. |
I noticed that when the click is over the placeholder(label) the modal do not close, works correctly. |
This also applies to the TimePicker as well. |
Any updates on this issue? |
Here is my quick fix to get the date picker dialog to open: MaterialDatePicker mDatePicker = new MaterialDatePicker(){
@Override
protected void onLoad() {
super.onLoad();
final MaterialDatePicker dp = this;
this.getElement().getStyle().setPosition(Position.RELATIVE);
MaterialPanel p = new MaterialPanel();
p.getElement().getStyle().setPosition(Position.ABSOLUTE);
p.getElement().getStyle().setZIndex(100);
p.setHeight("50px");
p.setWidth("100%");
p.getElement().getStyle().setTop(0, Unit.PX);
p.getElement().getStyle().setCursor(Cursor.POINTER);
p.addClickHandler(new ClickHandler() {
@Override
public void onClick(ClickEvent event) {
dp.open();
}});
this.add(p);
}
}; This also works with MaterialTimePicker. |
Tested the old showcase and new one, I think there was an issue with the new Chrome 73. Will be applying a patch today and release a snapshot 2.2 tomorrow early |
Related issue amsul/pickadate.js#1138 - amsul/pickadate.js@82900d6 |
Tested also on time picker. reference Dogfalo/materialize#6312 |
Is the 2.2-SNAPSHOT on the Maven Central repo? Or is it somewhere else? |
Just pushing the changes, 2.2-SNAPSHOT was on Maven Central. |
DatePicker has been updated and resolved the issue on 2.2-SNAPSHOT |
I'm looking here, and I don't see it. Am I looking in the wrong spot? http://central.maven.org/maven2/com/github/gwtmaterialdesign/gwt-material/ |
If you are using maven then it will auto-download the update, if jar then you need to download it directly from the link I've shared |
Got it. That was exactly it,... my Maven wasn't tied to the repository. Thanks man.
|
This issue is only partially fixed in the version deployed on https://gwtmaterialdesign.github.io/gmd-core-demo/#datePicker. If you do not release the mouse button immediately when clicking anywhere else but the label of the datepicker, the behaviour is just like before. |
If you click down with Chrome Version 73 in an inputfield with datePicker the overlay appear.
If you release the klick the overlay disappear.
If you then change into an other tab and came back the overlay is visible once again and you can use the datePicker.
The text was updated successfully, but these errors were encountered: