You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
bug: Select-Popover does not select the element when enter is pressed #30561
<ion-radiovalue={option.value}disabled={option.disabled}onClick={() => this.dismissParentPopover()}
onKeyUp={(ev) => {
if (ev.key === ' ') {
/**
* Selecting a radio option with keyboard navigation,
* either through the Enter or Space keys, should
* dismiss the popover.
*/
this.dismissParentPopover();
}
}}
>
The comment said it should work with Enter key, but the code only checks for space key. This is created from PR 7578aa3 . It has been unchanged since then.
The fix is simply add enter checking there:
if(ev.key===' '||ev.key==='Enter'){
Let me know if the Ionic team is online with this suggestion and I'm happy to create the PR to contribute.
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.
Activity
dolphinigle commentedon Jul 21, 2025
ionic-framework/core/src/components/select-modal/select-modal.tsx
Line 98 in 5f12cf8
Same issue here potentially.
fix(select): select focused option on Enter in popover and modal inte…
ShaneK commentedon Apr 29, 2026
Hey, thanks for the report! The fix for this was released in v8.8.5!
ionitron-bot commentedon May 29, 2026
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.