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:
KTThemeMode.setMode("dark");
Hi,
The iFrame content is considered as a independant page so you will need to load it with preferred theme mode.
Regards.