ampproject / ampproject/amphtml
Storybook - Issue on amp-accordion with Bind that is specific to storybook
Open
Stale
Type: Bug
- Dominant language
- JavaScript
- Stars
- 14.9k
- Forks
- 4.1k
- PR merge metrics
- No merged PRs in 30d
Description
When an accordion section has an `expanded` attribute and also `amp-bind` binds to an `data-amp-bind-expanded` attribute, storybook throws the following error. Removing `expanded` fixes the error, but this should be supported. This does not throw an error on a normal test page (outside of storybook).

This PR shows a code example and the current fix: https://github.com/ampproject/amphtml/pull/33674/
Contributor guide
Assessment
This issue has not been assessed yet.