Skip to content

✨ [bento][amp-sidebar] Add warning when sidebar not child of body (amp mode only)#31835

Merged
krdwan merged 3 commits intoampproject:masterfrom
krdwan:amp-sidebar-body
Jan 12, 2021
Merged

✨ [bento][amp-sidebar] Add warning when sidebar not child of body (amp mode only)#31835
krdwan merged 3 commits intoampproject:masterfrom
krdwan:amp-sidebar-body

Conversation

@krdwan
Copy link
Copy Markdown
Contributor

@krdwan krdwan commented Jan 6, 2021

Sidebar tracker: #31366


When sidebar is not a direct child of body, throw a warning to the user.

todo: add tests

Copy link
Copy Markdown
Contributor

@caroqliu caroqliu left a comment

Choose a reason for hiding this comment

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

Code LGTM, had a question about location.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants