Skip to content
This repository has been archived by the owner on Apr 28, 2020. It is now read-only.

Do not close Create VM Wizard when clicked outside of modal #471

Merged
merged 1 commit into from
May 24, 2019

Conversation

rawagner
Copy link
Contributor

@rawagner rawagner commented May 20, 2019

@coveralls
Copy link

Pull Request Test Coverage Report for Build 1640

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 84.002%

Totals Coverage Status
Change from base Build 1895: 0.0%
Covered Lines: 3958
Relevant Lines: 4515

💛 - Coveralls

@coveralls
Copy link

coveralls commented May 20, 2019

Pull Request Test Coverage Report for Build 1931

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 84.023%

Totals Coverage Status
Change from base Build 1662: 0.0%
Covered Lines: 3974
Relevant Lines: 4532

💛 - Coveralls

@atiratree
Copy link
Contributor

IMO this is a feature, not a bug :) Users should know what to expect from escape key.

@atiratree
Copy link
Contributor

not sure about the backdrop click

@mareklibra
Copy link
Contributor

I like this change.
Former behaviour was annoying to me.

@andybraren
Copy link

No other modal (that I can find) closes itself when clicking on the backdrop, so I agree that annoying behavior should be changed. 🙂

I'm not sure about disabling the Esc key though. The new PF4 wizard supports using Esc to close for accessibility reasons I believe, and existing modals within the Console can be Esc'd to close too. Is hitting Esc and accidentally closing the modal a frequent problem?

@matthewcarleton
Copy link
Contributor

+1 to @andybraren comment about the "esc" key. For more information: https://www.w3.org/TR/wai-aria-practices/examples/dialog-modal/dialog.html and here's a good write up on it too https://simplyaccessible.com/article/closing-modals/

@rawagner rawagner changed the title Do not close Create VM Wizard when: Do not close Create VM Wizard when clicked outside of modal May 23, 2019
@rawagner
Copy link
Contributor Author

@andybraren @matthewcarleton thank you for the input! I changed it to not close when user clicks outside of modal (which was pretty annoying), esc is unchanged.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants