Skip to content
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

Intermittent buggy scrolling on full plots section #58

Open
jethror1 opened this issue Oct 28, 2021 · 0 comments
Open

Intermittent buggy scrolling on full plots section #58

jethror1 opened this issue Oct 28, 2021 · 0 comments
Labels
bug Something isn't working
Milestone

Comments

@jethror1
Copy link
Collaborator

Scrolling on full plots section sometimes is buggy and will jump / not load all plots without scrolling past. The viewport height is currently set dynamically at 75% with scrollY, this along with non fixed row heights seems to be the cause of the issue on it trying to constantly redraw and calculate each row height. Searching still works to allow for viewing plots when scrolling doesn't work correctly.

Switching this to a fixed integer height stops this and correctly displays a loading message when scrolling quickly, or alternatively using pagination

<script type="text/javascript" class="init">
$(document).ready(function() {
var data = [ $all_plots ];
$('#fullPlots').DataTable( {
data: data,
deferRender: true,
pageResize: true,
info: false,
scrollY: "75vh",
scrollCollapse: true,
scroller: true,
scroller: {
loadingIndicator: true
},
'processing': true,
'language': {
'loadingRecords': '&nbsp;',
'processing': 'Loading...'
},

@jethror1 jethror1 added the bug Something isn't working label Oct 28, 2021
@jethror1 jethror1 added this to the v2.0.0 milestone Dec 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant