Skip to content
This repository has been archived by the owner on Oct 19, 2021. It is now read-only.

fix(modal): backport onTransitionEnd NPE and modal focus fixes to v6 #2237

Merged
merged 2 commits into from
Apr 20, 2019

Conversation

asmith-IBM
Copy link

This is a backport of: #2141 and #2163 for v6.

asudoh and others added 2 commits April 18, 2019 16:41
Caused by `onTransitionEnd` on a child element in modal, presumably
when modal node ref hasn't been ready yet.

Fixes #2140.
…rbon-design-system#2163)

* fix(Modal): get focus behavior in sync with/without focus-trap

* fix(modal): remove unused focus-trap, createFocusTrap

* chore(modal): update snapshots
Copy link
Contributor

@asudoh asudoh left a comment

Choose a reason for hiding this comment

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

LGTM 👍 - Thanks @asmith-IBM!

@asudoh asudoh merged commit 0011f55 into carbon-design-system:v6 Apr 20, 2019
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants