-
Notifications
You must be signed in to change notification settings - Fork 273
fix(ui5-dialog): stretch content area of dialog #920 #1167
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
Conversation
|
Hi, @MapTo0. While I'm waiting for your review, I've added a new commit which is implementing new feature for adding focus event listener, and it is included into this PR. Please consider this ASAP, this PR is quite urgent for us. |
Hello, @gnseo Thank you for your interest in UI5 Web Components! I'd like to ask you about both of your proposed changes:
Regards, |
Hello, @vladitasev .
<Input onFocus={event=>{ console.log("on focus"); }} /> But after I add code as the commit in node_modules/@ui5/webcomponents/dist/Input.js, then it did work. Thanks for your feedback, and I'm looking forward further feedback soon. |
Hi @gnseo
If you only leave the changes about the dialog, we can totally merge this PR. Best regards, |
Hi, @fifoosid . About the Input, the change should be applied to @ui5/webcomponents, not to @ui5/webcomponents-react package. @MarcusNotheis : Could you double check this for me, please? Regards. |
I guess in this case the issue is rather with This is caused by the way we are binding events: |
@MarcusNotheis I just checked the type definitions for the standard html elements in react. There is a DOMAttributes interface that lists all event handlers as well: Then they are used in the standard HTML element definitions like that My guess would be that you need to indicate in the types of your components that you also extend/implement the same standard HTMLElement attributes. |
Hi all, Please be aware of the fact that all unknown props will not be wrapped in our |
Hi, all. I've checked the event as @MarcusNotheis 's suggestion, and it worked. So I've updated the withWebComponent, and created a pull request like below. @MarcusNotheis Would you please review my update? @fifoosid How about add focus to event metadata in this pull request to let Input support focus event? |
Hi @gnseo As @MarcusNotheis mentioned, he has added support for the focus event, so there is no need to add anything about focus handling in this repo. You can leave only the changes about the dialog in this PR. |
Hi, @fifoosid . I've removed focus from events metadata as your suggestion. Thanks. |
Hi @gnseo In order for the build to pass, you have to merge the master branch. After that I am going to merge this PR. |
No description provided.