You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug π
Printing on Chrome should effectively impose new styling on the entire document, triggering a rerender. However, iterated components fail to rerender while the rest of the DOM updates.
To Reproduce π¨βπ¬
import happyx, strformat, random
component ShowNum:
n: int
html:
"{self.n.val:04}"
randomize()
appRoutes("ROOT"):
"/":
for i in 1..7:
let n = rand(9999)
tDiv: tSpan:
"{n:04} = "
ShowNum(n)
The data are correctly matching when the page renders the first time.
But trigger a rerender with the print dialog, and the components' values on the right side do not change, while the values on the left are given new random values.
Expected behavior π€
It's acceptable for the whole page to rerender when triggering a print or on other occasions, but this should rerender the whole page, generating components afresh along with the other DSL content.
Please complete the following information π
Chrome 121.0.6167.184-1, Nim 2.0.0, HappyX 3.8.12 @#head
The text was updated successfully, but these errors were encountered:
But trigger a rerender with the print dialog, and the components' values on the right side do not change, while the values on the left are given new random values.
I'm not sure about it.
In my yandex browser (chromium) this not works - DOM not updates
Describe the bug π
Printing on Chrome should effectively impose new styling on the entire document, triggering a rerender. However, iterated components fail to rerender while the rest of the DOM updates.
To Reproduce π¨βπ¬
The data are correctly matching when the page renders the first time.
But trigger a rerender with the print dialog, and the components' values on the right side do not change, while the values on the left are given new random values.
Expected behavior π€
It's acceptable for the whole page to rerender when triggering a print or on other occasions, but this should rerender the whole page, generating components afresh along with the other DSL content.
Please complete the following information π
Chrome 121.0.6167.184-1, Nim 2.0.0, HappyX 3.8.12 @#head
The text was updated successfully, but these errors were encountered: