-
Bug
-
Resolution: Unresolved
-
Low
-
None
-
Minor
-
Issue Summary
Sometimes, the media queries within the dynamicContentMacro iframe is matched incorrectly, so that an iframe matches media queries of exactly 300px, even when the actual size is much larger.
Steps to Reproduce
- Install any connect app that uses the dynamicContentMacro module.
- Create a page
- Insert one of the dynamicContentMacros
- Make sure your browser is larger than 300px and reload the page
- With the iframe selected, run:
window.matchMedia("(max-width: 301px)").matches
- This will sometimes return true, even when the screen is larger than 301px.
Expected Results
window.matchMedia("(max-width: 301px)").matches should always return false for screens larger than 300px.
Actual Results
It occasionally returns false.
Workaround
Reload the page
- mentioned in
-
Page Loading...