Fixed Header with another fixed header causing offset issue

Fixed Header with another fixed header causing offset issue

smeengesmeenge Posts: 1Questions: 1Answers: 0

So I've followed the guides on how to implement an offset in order to include a fixed header on my table inside a page that already has a fixed header, but the header "jumps" too early , making two headers visible. I'm sure its probably got something to do with the WordPress theme, but does anyone have any ideas on how I might be able to fix it?

e.g. https://www.retroseasons.com/teams/golden-state-warriors/stats-totals/all/

Answers

  • colincolin Posts: 15,240Questions: 1Answers: 2,599

    Hi @smeenge ,

    As you say, that Wordpress banner is affecting it, but I notice if you resize the window, everything starts working as expected. It would be worth adding a call to fixedHeader.adjust() in either your drawCallback, or possibly a new option initComplete and see if that helps.

    Cheers,

    Colin

This discussion has been closed.