Skip to content

Conversation

@harundemr
Copy link

Fix #4509 has been verified on both Android and iOS devices.

@vercel
Copy link

vercel bot commented Nov 25, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
primevue ⬜️ Ignored (Inspect) Visit Preview Dec 7, 2023 5:59pm

onKeyDown(event) {
if (this.disabled) {
// Android keyboard event
const isAndroidKeyboardEvent = event.isComposing || event.keyCode === 229;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can use DomHandler.isAndroid() instead

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@melloware
if use DomHandler.isAndroid(), Android's backspace key will not work
He should mean to distinguish between normal keys and input methods like Chinese and Japanese

@harundemr
Copy link
Author

I've refactored the code as per your suggestion, @melloware , Thank you for your recommendation, and I've tested the changes accordingly.

@harundemr
Copy link
Author

@tugcekucukoglu could you please review my PR? Thanks

@tugcekucukoglu tugcekucukoglu merged commit e980ac7 into primefaces:master Dec 13, 2023
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

Successfully merging this pull request may close these issues.

Dropdown: Editable dropdown doesn't open when typing on a mobile device

5 participants