-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
21 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,3 +45,6 @@ _SpecRunner.html | |
# Ignore compiled files | ||
css/ghpages-materialize.css | ||
bin/ | ||
|
||
# Ignore lock | ||
yarn.lock |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
c0da340
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks. Fixed the problem.
c0da340
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello moein2020,
sorry for that newbie question but how did you solve the problem without the news materialize.min.js ? Did you modify the source file and compile everything on your own ?
c0da340
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No need to compile. Just download js/select.js and include it after materialize.min.js.
It should be something like this in your HTML:
c0da340
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot for your quick answer. I did that, but unfortunately, it didn't fix the problem for me (safari . iphone XR). Thanks anyway !
c0da340
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Mlkito @moein2020
Did you get this working? If so mind sharing how?
c0da340
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same problem here, why is there no bugfix release? :(
c0da340
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello. There hasn't been a release since last year so I had to compile it myself and import it in my React project. But works flawlessly, thanks @Dogfalo ! But you should be aware that this is an indeed important fix to have on the 1.0.0 release for most updated iOS devices.
c0da340
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome! Fixed my inaccurate tap problem on all devices. Thanks!
c0da340
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
dropdown.js might require a similar fix.
On iOS13 devices the option list for Dropdown button has the same behavior that select did prior to this fix.
c0da340
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@aharrah apparently removing the animate in/out from the dropdown fixes the issue. See my comments on #6494
c0da340
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @enderdba , i'm having the same issue and I'm using react.
Can you tell me how to do ?
c0da340
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@wakuu in order to compile (assuming that you've already cloned
v1-dev
repository) you better use yarn instead of npm (which raises a lot of errors)Now you have the updated code in
/dist/
folder ;)c0da340
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The fixed select.js was unfortunately not working for me, so I worked around it with the following CSS:
.select-wrapper * { transition: none !important; transform: none !important; }
c0da340
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This fixed select.js https://raw.githubusercontent.com/Dogfalo/materialize/v1-dev/js/select.js works for me.