google / google/material-design-lite

Re-read the components after DOM is updated

Open
#4,196 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
HTML
Stars
32.2k
Forks
4.9k
PR merge metrics
No merged PRs in 30d

Description

HI!

I just got into this library the other day and I have an issue with the React JS which updates the layout with a dynamic component that renders a card. After the card is rendered its layout is not refreshed with the material design skin.

In fact the page loads different ReactJS components async with RequireJS, so how can I tell the MDL library that the page has new elements? I have tried with the upgradeElements and upgradeAllRegistered but with no luck.

Thank you

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.