Open Nitrodist opened 3 years ago
@Nitrodist I checked the issue with our example, but there was no visual issues.
Can you give me the more detail information like your configuration code or DOM structure?
you need to call refreshLayout when the parent is visible again
Describe the bug
When a tui-grid element is hidden and the grid is initialized, the rows within the grid are blank and unusable.
Resizing the window re-renders the rows. That fixes the issue.
If you have the grid initially visible and then hide it, this issue does not happen. It only happens when the div is hidden initially.
To Reproduce Steps to reproduce the behavior:
<div style="visibility: hidden"></div>
new Grid ...
visibility: hidden
Expected behavior
There is a similar issue in tui-calendar where you can call
[.render()](https://nhn.github.io/tui.calendar/latest/Calendar#render)
. I could call a similar function in my javascript that hides/shows the divs very easily if it existed.Screenshots
The error happening:
After resizing the window:
Desktop (please complete the following information):