question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Prompt doesn't prevent refresh with `when` set to true

See original GitHub issue

Version

4.2.2

Test Case

N/A

Expected Behavior

That hooking up a Prompt would prevent navigation or refreshes

Actual Behavior

It only prevents the navigation

I may have misunderstood how to use this? I’m not seeing a way that covers refreshing as well.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

5reactions
timdorrcommented, Dec 22, 2017

Prompt doesn’t handle refreshing.

0reactions
timdorrcommented, Dec 26, 2017

I’m reading this. What information are you looking for?

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to prevent page refresh or default prompt box in Chrome
to prevent page refresh, listen the beforeunload event of the window object and call for the preventDefault method of the event argument.
Read more >
Enable the list refresh prompt
Enter sys_properties.list in the Workspace filter navigator. · Search for glide.lists. · Click the Value column field and change the value to true...
Read more >
location.reload() - Web APIs | MDN
The location.reload() method reloads the current URL, like the Refresh button. The reload may be blocked and a SECURITY_ERROR DOMException ...
Read more >
Set Chrome app and extension policies (Windows)
Step 2: Update your Group Policies · Go to Administrative Templates and then · Open Extension management settings. · Enable the policy and...
Read more >
Troubleshoot Issues with Bridge - Tableau Help
Identify causes for scheduled refresh issues · If the extract data source doesn't need to be refreshed, you can remove the data source...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found