Jesse
Jesse

Reputation: 1

Bug with MaterialDatePicker Edittext hint

I'm trying to figure out why this issue is occurring with the MaterialDatePicker when selecting the edit icon to input a date manually. I get a visual bug with the date hint, it looks like there is a standard hint in grey that says m/d/yy and then another hint in black that says Date and they are overlapping each other.

Has anyone else seen this and/or have a solution for it?

val pickerBuilder = MaterialDatePicker.Builder.datePicker().build()
pickerBuilder.show(childFragmentManager,"dp")

material date bug

Upvotes: 0

Views: 207

Answers (1)

luktant
luktant

Reputation: 121

If someone stumbles upon this thread as I did, here is the Github issue connected to this problem: https://github.com/material-components/material-components-android/issues/3625

The issue appears closed but its not yet resolved, there is still a PR open which hopefully makes it into an upcoming release, at the moment the only "workaround" except for waiting for the fix is to downgrade the material lib to 1.9.0, would not do that personally but if you really want this to work.

Upvotes: 0

Related Questions