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
Open browser console in opened firefox (note: firefox will automatically close after 30 seconds)
Expected behavior
I expected the browser console to contain username: username, password: password but it contains username: username, password: (password missing). When clicking on the login button again the correct text is shown. This is only an issue in Firefox but not Chromium.
From the logs it seems like a rerender is required to update the value in the handle.
Screenshots
Environment:
Yew version: 0.20 until master are all affected
Rust version: nightly
Build tool, if relevant: trunk
OS, if relevant: Linux
Browser and version, if relevant: Firefox
Questionnaire
I'm interested in fixing this myself but don't know where to start
I would like to fix and I have a solution
I don't have time to fix this right now, but maybe later
The text was updated successfully, but these errors were encountered:
Problem
When multiple events are handled without rerendering the state accessed in event callbacks is stale.
Steps To Reproduce
Steps to reproduce the behavior:
(cd frontend && trunk serve)
(cd tests && cargo run)
Expected behavior
I expected the browser console to contain
username: username, password: password
but it containsusername: username, password:
(password missing). When clicking on the login button again the correct text is shown. This is only an issue in Firefox but not Chromium.From the logs it seems like a rerender is required to update the value in the handle.
Screenshots
![Image](https://private-user-images.githubusercontent.com/13287984/406756669-8d3a33cd-e728-4136-9ff5-53e4f3d9d12d.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg5OTI5NzksIm5iZiI6MTczODk5MjY3OSwicGF0aCI6Ii8xMzI4Nzk4NC80MDY3NTY2NjktOGQzYTMzY2QtZTcyOC00MTM2LTlmZjUtNTNlNGYzZDlkMTJkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA4VDA1MzExOVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWJkZGQ0ZGNiMzQ2Yzg4ZGJmZTMxOTllODYzOTc3M2RiZjdhYjUxNjIxOTIyNGYwYTQ3MDQ0Yzc4NDBjY2VlY2MmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.nCRNRMPValli6srLfmrdUIgjtH7oTOT_PdWMet9z6ik)
Environment:
Questionnaire
The text was updated successfully, but these errors were encountered: