-1

I have a weird issue where my div is not scrolling vertically in Chrome on my MacBook display. If I move the window (without resizing it or anything) to a different display vertical scrolling works. If I scroll horizontally first that "unlocks" the vertical scrolling. Only in Chrome, only on the MacBook display.

I can't share the page here, but I can try to re-produce it with some different content if that is helpful. Thought I would check if it is a known issue first. I have some jquery resizing things going on that might be a lead.

setTimeout(function() {
    var table_p = $("#table");
    var position = table_p.position();
    var viewheight = $(window).height() - position.top - 10;
    table_p.height(viewheight);
    $(window).resize(function() {
        var table_p = $("#table");
        var position = table_p.position();
        var viewheight = $(window).height() - position.top - 10;
        table_p.height(viewheight);
    });
}, 250);
SeaBass
  • 1,584
  • 4
  • 20
  • 46

1 Answers1

0

Turns out setting a height in the css for #table fixed the problem, even though the height is replaced by js soon after.

SeaBass
  • 1,584
  • 4
  • 20
  • 46