-
Notifications
You must be signed in to change notification settings - Fork 208
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Doesn't works properly when browser zoom !== 100% #81
Comments
would be nice to have the library working in Internet Explorer. I think just because this library using FlexBox Layout, its not working properly in IE. Would be nice instead of FlexBox layout to use Bootstrap 3 grid system?? |
yes, you 're right. |
@HondaHiroyuki But I have an idea on what's going on with your bug. Maybe your browser isn't with zoom 100% ? @alexfeds |
@bertrandg Thanks for suggesting. I am creating enterprise application that mostly be used on Internet Explorer 7-11. So that's why I am using Bootstrap 3 for gridding. Can you point me in a direction on how can I create splitter library that will be based on Bootstrap 3 layout. So instead of flexbox I replace it with Bootstrap. Any advice appreciate |
@bertrandg As you say, the problem seems to be caused by the zoom setting of browsers, not by browsers. I also found that it occurred even on any other browsers when I changed the zoom setting. Is it possible to consider the zoom setting of browsers on resizing? |
@HondaHiroyuki Thanks for the feedbacks, I will investigate about that. Issue not there using Split.js so there should be a workaround.. @alexfeds Wow, do you know that IE7 & 8 are not compatible with angular: |
@bertrandg I would do a PR but can't for various reasons. This is probably a one-line fix. https://stackoverflow.com/a/37815031 Would be really nice to get this fixed as I'd like to use it for a project. :) |
Yep, I will try to test and implement it this weekend! ;) |
@tkglaser @HondaHiroyuki @alexfeds Done in Please report me if it works correctly now on your devices before I close the issue. |
@bertrandg Works great, many thanks! |
Seems this change breaks behavior on mobile: #85 |
@bertrandg On my Windows, On the browsers that support HiDPI scaling internally, not by the default zoom setting, devicePixelRatio is not consistent with the browser zoom, which causes the resizing problem. I think that the solution is to use clientX/clientY instead of screenX/screenY in calculating the amount of dragging operations, without using devicePixelRatio. While screenX/screenY returns the device pixel value, clientX/clientY returns the CSS pixel value, so perhaps you don't have to care about the browser zoom, DPI scaling, or devicePixelRatio. Could you please check if the solution works? |
Fixed in my branch Forked from https://github.com/aszechlicki/angular-split to also include rxjs6 Also fixes #85 |
@Mysame how do you use this forked package then in your project? Have you published it into NPM under a different name? Or are you using a private NPM repo like Nexus? Or just installing from a directory? |
@ribizli At the moment of posting, I'm using my version by copying over the module to my project. |
Ok using version |
Resizing by dragging gutters doesn't work correctly on Microsoft Edge and Internet Explorer.
Resized result doesn't match the amount of dragging operation.
It can be seen in all the examples on the documentation site.
Split.js seems to work, but I'd like to use this module if it's supposed to support these Windows browsers.
Thanks.
The text was updated successfully, but these errors were encountered: