infinitered / infinitered/rmq

If I toggle st.secure_text_entry, I cannot restore the font

Open
#313 1 comment 0 reactions 0 assignees View on GitHub
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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.