-
Bug
-
Resolution: Won't Fix
-
Normal
-
9.1.0
-
None
-
Security Level: Jimmy
-
None
-
ZK 9.5.1 S1
-
None
Steps to Reproduce
1. run the zul and VM
2. reduce the browser window size to less than 1260px
Current Result
@MatchMedia: 3
CSS Media Query: 2
Expected Result
@MatchMedia: 2
CSS Media Query: 2
Debug Information
1. in this example, CSS media query and @MatachMedia has the same rules. CSS update according to width change but @MatchMedia doesn't update.
2. When reducing the width down to 1260px, zk doesn't send AU to notify width change
3. if you enlarge width from 500px to over 1260px, you fill find the numbers in the page update correctly. (Both @MatchMedia and CSS media query)
Workaround
- reqplace @MatchMedia("all and (min-width: 670px)") with @MatchMedia("all and (min-width: 670px) and (max-width: 1259px)")