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

[fields] on Android: deleting the date template is possible and breaks the component #13620

Closed
shirRefundco opened this issue Jun 25, 2024 · 4 comments · Fixed by #13652
Closed
Assignees
Labels
bug 🐛 Something doesn't work component: pickers This is the name of the generic UI component, not the React module! mobile Targets mobile platform regression A bug, but worse

Comments

@shirRefundco
Copy link

shirRefundco commented Jun 25, 2024

Steps to reproduce

Link to live example: (required)

Steps:

  1. Implement the DateField component
  2. Open the page in mobile - android only
  3. focus on the MM for example, and the use the backspace and delete the "MM" successfully

Current behavior

When trying to delete the "MM/DD/YYYY" template of the dateField component from an android mobile, it deletes the template

Expected behavior

There is no way to delete the template "MM/DD/YYYY" of the component

Context

No response

Your environment

npx @mui/envinfo
  System:
    OS: macOS 11.3.1
  Binaries:
    Node: 18.18.0 - ~/.nvm/versions/node/v18.18.0/bin/node
    npm: 9.8.1 - ~/.nvm/versions/node/v18.18.0/bin/npm
    pnpm: Not Found
  Browsers:
    Chrome: 126.0.6478.114
    Edge: Not Found
    Safari: 14.1

Search keywords: DateField Mobile

@shirRefundco shirRefundco added the status: waiting for maintainer These issues haven't been looked at yet by a maintainer label Jun 25, 2024
@michelengelen
Copy link
Member

@LukasTy I don't have an android device at hand. Do you?

@michelengelen michelengelen changed the title [fields] DateField component on Android - deleting the date template is possible and breaks the component [fields][DateField] on Android: deleting the date template is possible and breaks the component Jun 25, 2024
@michelengelen michelengelen added bug 🐛 Something doesn't work component: pickers This is the name of the generic UI component, not the React module! mobile Targets mobile platform labels Jun 25, 2024
@LukasTy LukasTy changed the title [fields][DateField] on Android: deleting the date template is possible and breaks the component [fields] on Android: deleting the date template is possible and breaks the component Jun 26, 2024
@LukasTy
Copy link
Member

LukasTy commented Jun 26, 2024

@shirRefundco Thank you for reporting this problem! 🙏
It looks like a regression as this isn't happening on v6.

screen-20240626-085324.2.mp4

@LukasTy LukasTy added regression A bug, but worse and removed status: waiting for maintainer These issues haven't been looked at yet by a maintainer labels Jun 26, 2024
@LukasTy LukasTy self-assigned this Jun 26, 2024
@LukasTy
Copy link
Member

LukasTy commented Jun 26, 2024

Android seems to be undecided as to what it should do with Backspace button. 🙈
Given a numeric keyboard, it fires an event with the key of Backspace, but given a letter section—the key Unidentified.
This is related to #10399.
I'm looking into this problem further.

Copy link

⚠️ This issue has been closed. If you have a similar problem but not exactly the same, please open a new issue.
Now, if you have additional information related to this issue or things that could help future readers, feel free to leave a comment.

@shirRefundco: How did we do? Your experience with our support team matters to us. If you have a moment, please share your thoughts in this short Support Satisfaction survey.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something doesn't work component: pickers This is the name of the generic UI component, not the React module! mobile Targets mobile platform regression A bug, but worse
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants