Opened 11 years ago
Closed 9 years ago
#13421 closed defect (patchwelcome)
Whole Screen Flicker Caused by Dojo Grid
Reported by: | Owned by: | Evan | |
---|---|---|---|
Priority: | high | Milestone: | tbd |
Component: | DojoX Grid | Version: | 1.6.1 |
Keywords: | grid flicker | Cc: | [email protected]… |
Blocked By: | Blocking: |
Description
We have several dojo data grids in our application that we use inside of tab containers. Knowing that the grid doesn't work right inside of containers that have "display: none" set, we re-set the grid's data store when the content pane of the tab is visible again.
We've noticed that there are lots of places where refreshing the grid by resetting the store (per the docs) causes the whole screen of the browser to flash/flicker (not just the grid area - but the whole screen).
It seems like there's alot of different places in our application where we can tickle this bug. However, I have put together a contrived example that I have attached to this ticket in order to illustrate the issue.
Simply load the file and then follow these steps:
- Scroll down in the grid a little bit (this is critical to producing the problem).
- Click the button that has a label that starts with 'Toggle'
- Click the 'refresh' button.
- Click the button that has a label that starts with 'Toggle'
- Click the 'refresh' button.
- Observe screen flicker that occurs outside of the grid.
We have verified this behavior is firefox 3.6 on Windows XP and Ubuntu 10. It does not occur in firefox 3.6 on a Mac or in firefox 5 on Mac, Linux or Windows.
While the steps may seem contrived or unusual, please keep in mind that this is a real-world use case in our application. We often call setStore on grids that are inside of tab containers that are not active. This is due to use activity elsewhere in the application that necessitates reloading the store. I'd prefer not to have to litter my application with guard clauses.
In general, the DataGrid? really ought to handle being inside of tab containers, accordions, etc that are not currently selected. However - that is a larger issue.
Attachments (1)
Change History (4)
Changed 11 years ago by
Attachment: | display-none-example.html added |
---|
comment:1 Changed 11 years ago by
Owner: | changed from evan to Evan |
---|
comment:2 Changed 9 years ago by
comment:3 Changed 9 years ago by
Resolution: | → patchwelcome |
---|---|
Status: | new → closed |
Static HTML Illustrating Screen Flicker Bug with Dojo DataGrid?