Treesaver / treesaver

JavaScript library for creating column and page-based layouts
GNU General Public License v2.0
1.06k stars 112 forks source link

Current column overlapping on previous column in windows 8 IE 11 #321

Open Sampathmattapalli opened 10 years ago

Sampathmattapalli commented 10 years ago

When i trigger to next column, previous column not scrolling to hide & next column overlapping into that. Find the attachment you can get more clarity. image001

styks1987 commented 10 years ago

I am having the same issue overlap

tadejs commented 10 years ago

Hi, it seems that IE11 has a new user agent, which doesn't contain 'msie'. Go figure.

My fix was changing the IE detection code so that it doesn't just look for 'msie', but also checks for Trident, when the appName is Netscape:

[around line 133 in capabilities.js]

else if (/msie/.test(capabilities.ua_) ||
    ("Netscape" == window.navigator.appName && /trident/i.test(capabilities.ua_))) {
  return 'msie';
}

Also, if you're testing for IE, I strongly recommend including the meta tag that forces standard-compliant rendering, since it's really easy to trigger IE going into quirksmode - this is what solved most of my IE mobile bugs anyway.