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

Direct canvas link does not respect non-default theme selection #10

Open
e0ipso opened this issue Mar 15, 2022 · 0 comments
Open

Direct canvas link does not respect non-default theme selection #10

e0ipso opened this issue Mar 15, 2022 · 0 comments

Comments

@e0ipso
Copy link
Member

e0ipso commented Mar 15, 2022

When rendering the component without the manager, the default theme is always used. This is regardless of the theme in the URL.

Example

When Seven is the default theme, we select Claro on the dropdown, and then we visit the canvas URL.

http://localhost:6006/iframe.html?id=cl-components-examples-button--default&globals=drupalTheme:claro;supportedDrupalThemes.umami.title:Umami;supportedDrupalThemes.claro.title:Claro;supportedDrupalThemes.seven.title:Seven&viewMode=story (note drupalTheme:claro;).

Renders as Seven:
image

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

No branches or pull requests

1 participant