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
View the page in Google Chrome. Currently the reflowed event works. Now if you open the print dialog, and close it with the cancel button, you'll notice that the reflowed event no longer fires. Viewing in the browser's dev tools it seems that the reflowed event still exists but the listener for the event becomes unbound from the table. Rebinding the event solves the issue.
On this JSfiddle I have created a button which reflows the table and has a "reflowed" listener which creates an alert dialog. After opening Chrome's print dialog and then closing it, the button now does nothing
The text was updated successfully, but these errors were encountered:
DannyJJK
changed the title
After Chrome's print dialog shows, reflowed event is unbound
After Chrome's print dialog shows, reflowed event listener is detached from the table
Sep 26, 2016
I dont know why I was destroying the table on print. All I needed to do was unfloat the header and refloat it afterwards. I had all the secret sauce but didnt use it.
Browser: Chrome
OS: macOS Sierra
Steps to reproduce:
https://jsfiddle.net/jstfgjan/
On this JSfiddle I have created a button which reflows the table and has a "reflowed" listener which creates an alert dialog. After opening Chrome's print dialog and then closing it, the button now does nothing
The text was updated successfully, but these errors were encountered: