Clarity: Datagrid: Error when loading active

Created on 5 May 2017  路  4Comments  路  Source: vmware/clarity

Select one ... (check one with "x")

[ x ] bug
[ ] feature request
[ ] enhancement

Expected behavior


Datagrid error when loading active.

2017-05-05_145448

Actual behavior

https://plnkr.co/edit/QuDQM0suEiiy9h8I7BvF?p=preview

Reproduction of behavior


  • Include a link to the reproduction scenario you created by forking one of the Clarity Plunker Templates:

Environment details

  • Angular version: 4.0.1

  • Clarity version: 0.9.3

  • OS and version:

  • Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]

bug

All 4 comments

Hello @siteslave,

This seems to be an initialization timing issue, which you can workaround if you change the "loading" var assignment in your constructor to this:
setTimeout(() => {
this.loading = true;
});
As it is without a timeout period parameter, the only effect it will have will be to yield the thread, so other code that waits on the line will have chance to finish its initialization.

Best regards

@Jinnie ,
In version 0.9.2, no errors were found.

Is it a bug?

This is a bug introduced by the latest spinner refactor (needed to avoid clipping popovers). Assigning to @jeeyun for preliminary investigation since it's hopefully still fresh for her. We can then assign the actual fix for someone else.

Hi there 馃憢, this is an automated message. To help Clarity keep track of discussions, we automatically lock closed issues after 14 days. Please look for another open issue or open a new issue with updated details and reference this one as necessary.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

reddolan picture reddolan  路  3Comments

BugsyFTW picture BugsyFTW  路  3Comments

clane picture clane  路  3Comments

aaronfrost picture aaronfrost  路  3Comments

elesueur picture elesueur  路  3Comments