Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

UI: Fix z-index in modal elements #78

Merged
merged 3 commits into from
Dec 27, 2023
Merged

UI: Fix z-index in modal elements #78

merged 3 commits into from
Dec 27, 2023

Conversation

cdedreuille
Copy link
Collaborator

@cdedreuille cdedreuille commented Sep 26, 2023

📦 Published PR as canary version: 1.0.11-canary.78.9bdace7.0

✨ Test out this PR locally via:

npm install @storybook/[email protected]
# or 
yarn add @storybook/[email protected]

@cdedreuille
Copy link
Collaborator Author

@yannbf This PR looks good to me. It should work for both 7.0 and 8.0.

@cdedreuille cdedreuille requested a review from yannbf September 29, 2023 14:33
@@ -100,7 +100,7 @@ export function GuidedTour({
},
},
{
target: "#root div[role=main]",
target: "#root > div",
Copy link
Member

Choose a reason for hiding this comment

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

This does not work for Storybook 7 and 8. The elements structure changed and there's no role=main anymore. This needs to be tweaked and tested in both Storybook 7 and 8 (via a canary release)

@yannbf yannbf added the patch Increment the patch version when merged label Dec 27, 2023
@yannbf yannbf merged commit 8f95282 into main Dec 27, 2023
5 of 6 checks passed
@yannbf yannbf deleted the charles/fix-z-index branch December 27, 2023 11:44
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
patch Increment the patch version when merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants