Skip to content
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

Select and Input doesn't work (Cordova problem?) #4305

Closed
nidhoeggr09 opened this issue Mar 2, 2017 · 3 comments
Closed

Select and Input doesn't work (Cordova problem?) #4305

nidhoeggr09 opened this issue Mar 2, 2017 · 3 comments

Comments

@nidhoeggr09
Copy link

nidhoeggr09 commented Mar 2, 2017

I'm creating an Android/iOS app with Cordova and Visual Studio and would like to style the app with materialize. However there seems to be a problem with the initialization. I searched through the tutorials as well as the issues and wasn't able to find a solution. Basically there are two problems, but i think they have the same root problem.

Problem #1: Input fields
When i create an input field it first looks correct:
1
But when i enter text, the description does not move up as it should and then overlaps the text:
2

Here' the code: http://codepen.io/anon/pen/VpeqoR

Problem #2: Combobox
When i create a combo box (like the tutorial says) i get two of them. The lower one is just there and does not do anything. The upper one works, but cuts of the text if there are too many options. When trying to scroll, it collapses. I initialized the select component in the onDeviceReady() function.
Screenshot 1:
3

Screenshot 2:
screenshot_20170302-093551

Here's the code: http://codepen.io/anon/pen/RprEmm

Please note, that the scrolling doesn't work always on the page where i use these input fields.

These problems still occur if i disable all other css files.

@nidhoeggr09
Copy link
Author

nidhoeggr09 commented Mar 4, 2017

Same with switches. Is there nobody who had the same or a similar problem?

screenshot_20170304-181110

@fsarachu
Copy link

fsarachu commented Mar 9, 2017

Select boxes are not working in a simple html page rendering on Safari (iOS 10.2.1 ).
I opened http://materializecss.com/forms.html and select boxes didn't work even there, in the official demos.

@Dogfalo
Copy link
Owner

Dogfalo commented Oct 11, 2017

None of your codepen's seem to be demonstrating the problem. Please update this and I will reopen

@Dogfalo Dogfalo closed this as completed Oct 11, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants