Skip to content

feat(popup-menu-web): click close on#2084

Open
Carter-Moorse wants to merge 4 commits intomendix:mainfrom
Carter-Moorse:main
Open

feat(popup-menu-web): click close on#2084
Carter-Moorse wants to merge 4 commits intomendix:mainfrom
Carter-Moorse:main

Conversation

@Carter-Moorse
Copy link

Pull request type

New feature (non-breaking change which adds functionality)


Description

Added Close on setting, for Open on type 'Click'.
This new property has two options:

  • 'Click anywhere' - closes menu when user clicks anywhere on page
  • 'Click outside' - closes menu only when user clicks outside

What should be covered while testing?

clickCloseOn property, when set to:

  • onClickAnywhere - expect popup to close when clicked anywhere on page
  • onClickOutside - expect popup to only close when clicked outside the menu

Added Close on property, which follows from Open on, type 'Click'.
This new property has two options:
 - 'Click anywhere' - Closes when user clicks anywhere on page
 - 'Click outside' - Closes when user clicks outside the menu
Update changelog to include 4.1.0 changes
Updated version in package XML
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant