If I toggle st.secure_text_entry, I cannot restore the font
- Dominant language
- HTML
- Stars
- 305
- Forks
- 51
- PR merge metrics
- No merged PRs in 30d
Description
I have a button to "hide/show" a password which changes the secure_text_entry boolean. If it gets hidden then re-revealed, it loses the font I applied to it with RMQ.
```
@password.style do |st|
st.secure_text_entry = false
st.font = font.size_18_light
end
```
Even if I reapply the font, it still shows the system default font (or whatever serif font it is).
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the issue from the shown @password.style block: toggle secure_text_entry off and on after applying the RMQ font. Trace how the style is reapplied during that toggle, and consider the work done when the custom font remains visible after the field is revealed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ruby
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100