question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Data only shown after window resize when using externalPaging

See original GitHub issue

I’m submitting a … (check one with “x”)

[x] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here

Current behavior Data is only shown after resizing the window. As far as I know this is only a problem when using external paging.

I am using these settings:

<datatable class="material striped fill-width" [rows]="publications" [columnMode]="'force'" [headerHeight]="50" [footerHeight]="50" [rowHeight]="'auto'" [externalPaging]="true" [limit]="limit" [count]="count" [offset]="0" [scrollbarH]="true" (page)='onPage($event)'>

screenrecording

Expected behavior The data to be shown without the requirement to resize the screen first.

Reproduction of the problem

What is the motivation / use case for changing the behavior? This is not a good user experience 😃

My environment: OS X 10.12.1 (Sierra)

  • Table version: 1.7.0
  • Angular version: 2.2.4
  • Browser: [all | Chrome XX | Firefox XX | IE XX | Safari | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]
  • Language: [all | TypeScript X.X | ES6/7 | ES5]

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
amcdnlcommented, Dec 4, 2016

Plz retry in 2.1.2

0reactions
ghostcommented, Sep 13, 2018

My environment: win32 x64

Table version: 13.1.0 Angular version: 6.0.9 Browser: [all | Chrome XX | Firefox XX | IE XX | Safari | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ] Language: [all | TypeScript X.X | ES6/7 | ES5]

Read more comments on GitHub >

github_iconTop Results From Across the Web

HTML canvas only triggered after browser resize?
Your canvas width is only set inside the resizeWindow(); function. Try adding resizeWindow(); directly after the function definition:
Read more >
Window: resize event - Web APIs | MDN
The resize event fires when the document view (window) has been resized. This event is not cancelable and does not bubble.
Read more >
Page: DOMContentLoaded, load, beforeunload, unload
load event – external resources are loaded, so styles are applied, image sizes are known etc. beforeunload event – the user is leaving:...
Read more >
Core Web Vitals report - Search Console Help - Google Support
Fix poor user experiences on your siteThe Core Web Vitals report shows how your pages perform, based on real world usage data (sometimes...
Read more >
Using web parts on SharePoint pages - Microsoft Support
If the page is not already in edit mode, click Edit at the top right of the page. Hover your mouse above or...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found