1.10.18 redraw bug with Scroller and Bootstrap 3 after resizing window and redraw

1.10.18 redraw bug with Scroller and Bootstrap 3 after resizing window and redraw

tom99tom99 Posts: 48Questions: 10Answers: 0

We are redrawing the table every now and then because of this problem:
https://datatables.net/forums/discussion/52635/header-columns-do-not-align-to-body-columns-when-using-scroller-and-drawing-while-hidden/

Now it happens that there are rows missing after the redraw, but only if I use Bootstrap styling and only after resizing the browser window (using Chrome).

Repro: http://live.datatables.net/wacoqote/1/edit

  1. Make the output pane bigger (drag left handle)
  2. Click on "Run with JS"
  3. Click on "hide"
  4. Resize the browser window from max to non-max and back (Window control buttons)
  5. Click on "show"
  6. Click on "redraw"

The display of the rows is now corrupt (missing rows) and cannot be repaired.

The same works fine with 1.10.16:
http://live.datatables.net/veminuvo/1/edit

Replies

  • colincolin Posts: 15,142Questions: 1Answers: 2,586

    Hi @tom99 ,

    Yep, that looks wonky. I've raised it internally (DD-1140 for my reference) and we'll report back here when there's an update.

    Cheers,

    Colin

  • tom99tom99 Posts: 48Questions: 10Answers: 0

    Thanks, @colin!

  • tom99tom99 Posts: 48Questions: 10Answers: 0

    @colin
    Looks like this is not fixed in 1.10.20. Any news on this bug? Thanks!

  • colincolin Posts: 15,142Questions: 1Answers: 2,586

    No, not yet I'm afraid.

    Colin

  • tom99tom99 Posts: 48Questions: 10Answers: 0

    Any news? This bug prevents us from updating beyond 1.10.16. Thanks!

  • allanallan Posts: 61,652Questions: 1Answers: 10,094 Site admin

    It looks like it is a bug in Scroller rather than in DataTables core. I'll see if I can get something sorted for it for the up coming releases.

    Allan

  • colincolin Posts: 15,142Questions: 1Answers: 2,586

    This has been addressed now - see here. We're aiming to make releases this afternoon, and this will be included in it.

    Colin

  • tom99tom99 Posts: 48Questions: 10Answers: 0

    Thanks, I can confirm this is fixed in 1.10.22.

  • colincolin Posts: 15,142Questions: 1Answers: 2,586

    Excellent, thanks for letting us know,

    Colin

This discussion has been closed.