Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

text_input + update_on="blur" reduces unnecessary re-renders #310

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mccalluc
Copy link
Contributor

@mccalluc mccalluc commented Mar 26, 2025

Started this to address

but doesn't actually fix that: two changes in quick succession could still cause a loop.

But: I think this still may be an improved experience. If you're entering a number, it's not helpful to show a result for "1", and then "12", and then "123": Better to just wait until input is complete.

(update_on="blur" requires upgrading shiny.)

This is subjective. What do you think?

@mccalluc mccalluc marked this pull request as ready for review March 26, 2025 17:54
@mccalluc mccalluc changed the title text_input + update_on="blur" makes it harder to get into loop text_input + update_on="blur" reduces unnecessary re-renders Mar 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Ready for Review
Development

Successfully merging this pull request may close these issues.

1 participant