Skip to content

Add pull-to-refresh to in-app browser#112

Open
mcintyre94 wants to merge 1 commit intomainfrom
add-pull-to-refresh-feature-8cf37fba
Open

Add pull-to-refresh to in-app browser#112
mcintyre94 wants to merge 1 commit intomainfrom
add-pull-to-refresh-feature-8cf37fba

Conversation

@mcintyre94
Copy link
Copy Markdown
Owner

Summary

  • Attaches a UIRefreshControl to WKWebView's scroll view so users can pull down to reload the page
  • Adds reload() to WebViewState (alongside existing goBack()/goForward()) and wires it to the refresh control's action
  • Dismisses the refresh spinner via the existing isLoading KVO observer once loading completes

Test plan

  • Open the in-app browser from a Sprite's URL
  • Pull down from the top of the page — refresh spinner appears and page reloads
  • Spinner dismisses automatically once the page finishes loading
  • Back/forward navigation still works normally

🤖 Generated with Claude Code

Attaches a UIRefreshControl to the WKWebView scroll view so users can
pull down to reload the page. The refresh spinner is dismissed via the
existing isLoading KVO observer once loading completes.

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
@claude
Copy link
Copy Markdown

claude bot commented Mar 29, 2026

Code review

No issues found. Checked for bugs and CLAUDE.md compliance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant