You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
but I found that Tilesjs does not aware of scrollbar width, makes some part of all rightmost DIVs always hide behind the scrollbar.
This also happened with demo that included in download file with all major browsers.
NOTE: Look like pulse.me website does not have this issue.
I try to solve my work by override getContentWidth, still not exactly calculate the correct width but look a lot better.
Grid.prototype.getContentWidth = function() {
// by default, the entire container width is used when drawing tiles
// return this.$el.width();
return this.$el[0].clientWidth;
};
The text was updated successfully, but these errors were encountered:
Hi!
Tilesjs is really great work.
but I found that Tilesjs does not aware of scrollbar width, makes some part of all rightmost DIVs always hide behind the scrollbar.
This also happened with demo that included in download file with all major browsers.
NOTE: Look like pulse.me website does not have this issue.
I try to solve my work by override getContentWidth, still not exactly calculate the correct width but look a lot better.
Grid.prototype.getContentWidth = function() {
// by default, the entire container width is used when drawing tiles
// return this.$el.width();
return this.$el[0].clientWidth;
};
The text was updated successfully, but these errors were encountered: