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

fix(ui5-dialog): apply initial focus after rendering #2551

Merged
merged 8 commits into from
Dec 14, 2020

Conversation

alexandar-mitsev
Copy link
Contributor

@alexandar-mitsev alexandar-mitsev commented Dec 7, 2020

Now the initial focus is applied also in cases when the dialog
is opened before it is fully rendered.

Fixes: #2537

Thank you for your contribution! 👏

To get it merged faster, kindly review the checklist below:

Pull Request Checklist

Now the initial focus is applied also in cases when the dialog
is opened before it is fully rendered.

Fixes: SAP#2537
@ilhan007
Copy link
Member

ilhan007 commented Dec 7, 2020

The build fails due to eslint errors, you can see them by running yarn lint in the root of the project:

345:21  error  '&&' should be placed at the beginning of the line  operator-linebreak
348:32  error  Block must not be padded by blank lines             padded-blocks

packages/main/src/Popup.js Outdated Show resolved Hide resolved
@alexandar-mitsev alexandar-mitsev marked this pull request as draft December 8, 2020 14:56
@alexandar-mitsev alexandar-mitsev requested review from a team and MapTo0 December 10, 2020 16:21
@alexandar-mitsev alexandar-mitsev marked this pull request as ready for review December 10, 2020 16:22
georgimkv
georgimkv previously approved these changes Dec 11, 2020
@MapTo0 MapTo0 merged commit dba0265 into SAP:master Dec 14, 2020
niyap pushed a commit to niyap/ui5-webcomponents that referenced this pull request Dec 17, 2020
Now the initial focus is applied also in cases when the dialog is open before it is fully rendered.

Fixes: SAP#2537
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.

Dialog: initial focus not applied on open
4 participants