8.1.1. Dark Mode HTML Child Element no longer switches
Hello, we upgraded from 8.1.0 to 8.1.1 and dark mode is now not updating for child HTML elements as before.
When we use the
setMode command it updates the main UI but it does NOT update child elements with HTML tags. We attempt to load an HTML file inside an iFrame and that element does not update
data-theme setting. In 8.1.0 this was updated automatically.
We are using the API call to set the value:
This works to update the main theme and switch dark/light, but it does not update child elements. This DID work correctly in v8.1.0, but it fails in 8.1.1.
The iFrame content is considered as a independant page so you will need to load it with preferred theme mode.