Super Sale Limited Time 50% OFF for All-Access Plans
Save 50% Now

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:

KTThemeMode.setMode("dark");


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.


Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (2)


My dad came over to fix my leaky sink and we finished quick. Wanted something to do together after so I searched for a gaming site. Saw Living Sky Casino and it’s got a friendly feel. From Canada they offer welcome bonuses like free spins or cash and daily stuff that keeps slots or blackjack going strong. Truthfully we enjoyed messing around on it.



Hi,

The iFrame content is considered as a independant page so you will need to load it with preferred theme mode.

Regards.


Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(