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(ui-components): calloutCollisionTransformation gets overwritten when external listeners are passed(calloutProps.preventDismissOnEvent, calloutProps.layerProps.onLayerDidMount, calloutProps.layerProps.onLayerWillUnmount) #2497

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

815are
Copy link
Contributor

@815are 815are commented Oct 24, 2024

UIComboBox/UIDropdown:
Fixed an issue where calloutCollisionTransformation gets overwritten when external listeners are passed for the following props:

  • calloutProps.preventDismissOnEvent
  • calloutProps.layerProps.onLayerDidMount
  • calloutProps.layerProps.onLayerWillUnmount

Scenario was:

  1. enable calloutCollisionTransformation feature;
  2. pass properties -> calloutProps.preventDismissOnEvent, calloutProps.layerProps.onLayerDidMount, calloutProps.layerProps.onLayerWillUnmount

callout props overwritten issue
Copy link

changeset-bot bot commented Oct 24, 2024

🦋 Changeset detected

Latest commit: aa34291

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 3 packages
Name Type
@sap-ux/ui-components Patch
@sap-ux/ui-prompting Patch
@sap-ux-private/ui-prompting-examples Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

additional tests
changelog
sonar duplication
@815are 815are added the ui-components @sap-ux/ui-components label Oct 24, 2024
@815are 815are changed the title fix: callout props overwritten issue fix(ui-components): calloutCollisionTransformation gets overwritten when external listeners are passed(calloutProps.preventDismissOnEvent, calloutProps.layerProps.onLayerDidMount, calloutProps.layerProps.onLayerWillUnmount) Oct 24, 2024
@815are 815are marked this pull request as ready for review October 24, 2024 15:04
@815are 815are requested a review from a team as a code owner October 24, 2024 15:04
sonar
Copy link

sonarcloud bot commented Oct 24, 2024

Copy link
Contributor

@broksy broksy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changeset reflets to the changes made and are covered by tests.
Approved from my side.

Copy link
Contributor

@Jimmy-Joseph19 Jimmy-Joseph19 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes looks good
Changeset found.
Haven't tested locally
Unit test coverage good.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ui-components @sap-ux/ui-components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants