nicegui: chrome browser ERR: RESULT_CODE_HUNG

Description

ui.notify(" web page open!")
await asyncio.sleep(1)
ui.navigate.to("https://www.gslaxxx1112.com", new_tab=True)

The newly opened site is a video playback site, and when this site is closed, the nicegui web page hangs when you return to nicegui. The video site has JS to switch the video source, and after switching back and forth, the current site is closed.Returning to the nicegui site there is a hunching phenomenon

If the site is opened separately https://www.gslaxxx1112.com it will not cause nicegui to hang up

Using ui.link to access the same site is normal, and there is no lingering phenomenon

The phenomenon is the same regardless of whether you use Chrome on your computer or on your phone, and it’s obviously caused by the ui.navigate.to() or ui.open() function

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 17 (7 by maintainers)

Most upvoted comments

@sonicno1 create a minimum example based on my answer,i can’t understand what is you problem totally.