Closed soundararaj-gayathri closed 1 year ago
shadow DOM prevent event bubbling in this case the submit event will not be pass through the hosting component.
Current workaround if you need to update to 1.6.2 you can submit the form by onClick
of the button.
shadow DOM prevent event bubbling in this case the submit event will not be pass through the hosting component.
Current workaround if you need to update to 1.6.2 you can submit the form by
onClick
of the button.
@danielleroux It is just not the button on click which we would need. We would need 'Enter' key press to allow users to navigate between form elements when the form element has valid input in it. Also 'Enter' key press should submit the form too. This was working on 1.5.0 and after migration has stopped working on 1.6.2
What happened?
With the latest release 1.6.2, we are observing that 'Enter' keypress is not working when the form includes IxButton. The same form component with button, works as expected. Our dependencies "@siemens/ix-react": "^1.6.2", "@siemens/ix": "^1.6.2", "@siemens/ix-aggrid": "^1.6.2", "@siemens/ix-brand-theme": "^1.2.0", "@siemens/ix-icons": "^1.1.2", "react-hook-form": "^7.43.9",
What type of frontend frameware are you seeing the problem on?
React
Which version of iX do you use?
v.1.6.2
Code to produce this issue.