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

Android datepicker is not showing correctly #31

Open
jesusbarrientos opened this issue Feb 10, 2021 · 8 comments
Open

Android datepicker is not showing correctly #31

jesusbarrientos opened this issue Feb 10, 2021 · 8 comments

Comments

@jesusbarrientos
Copy link

Describe the bug
The datepicker has a white area at the right side as a padding.

To Reproduce
Steps to reproduce the behavior:

  1. Open datepicker
  2. See error

Expected behavior
The datepicker should not have that space in the right side.

Screenshots
Screenshot_20210210-134224_Umatch.jpg

Smartphone:

  • Device: Samsung galaxy note 10 lite
  • OS: Android 10
  • Browser: chrome
@danielprrazevedo
Copy link
Member

Hello @jesusbarrientos.
Sorry for the delay in responding.
When you use the native date flag, do you have this same problem? I believe this may be due to the size of your display. The display, size and shape of the date picker is something defined by android itself, it is as if this place were something that I have no control over. I will try to reproduce the problem in some emulator and give you feedback, but I would like you to try something for me. Try using <input type="date" /> to see if the problem can also appear like this

@jesusbarrientos
Copy link
Author

Thanks for reply @danielprrazevedo .

I'm using datepicker as mentioned in README Usage section.

SmartSelect_20210223-122402_GitHub.jpg

I don't use input of type date because in mobile browsers it shows an icon that it can't hide. For that reason I use datepicker programatically.

@jreybaylen
Copy link

I'm having this issue as well. Date picker does not display the correct value in date, min and max parameter and font color as well.

Simulator Screen Shot - iPhone 11 Pro Max - 2021-02-28 at 11 25 38

{ date: '28/02/2021' } and the format is DD/MM/YYYY using moment-timezone

@danielprrazevedo
Copy link
Member

danielprrazevedo commented Mar 1, 2021

@jreybaylen This problem is different from the one mentioned, it just indicates that the selector is being displayed with a kind of padding inside the modal, in your case the selector is working with dates in the wrong way. We'll deal with that in another issue, okay?

@jreybaylen
Copy link

@danielprrazevedo Sure. Thank you

@Arieru
Copy link

Arieru commented Mar 9, 2021

Describe the bug
The datepicker has a white area at the right side as a padding.

To Reproduce
Steps to reproduce the behavior:

  1. Open datepicker
  2. See error

Expected behavior
The datepicker should not have that space in the right side.

Screenshots
Screenshot_20210210-134224_Umatch.jpg

Smartphone:

  • Device: Samsung galaxy note 10 lite
  • OS: Android 10
  • Browser: chrome

I have the same issue as well and on top of that, the app crashes when changing device orientation (landscape/portrait) while the date picker is present.

Device:
Samsung A50
OS: Android 10

@dominicksanchez02
Copy link

dominicksanchez02 commented May 4, 2021

me too, encountered the same issue The datepicker has a white area at the right side as a padding. would like to know if we have an update or fix for this issue? thanks

@KAMAELUA
Copy link

Any updates? Issue still exists

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants