jverdi / jverdi/JVFloatLabeledTextField
Is there a way to manually animate the show/hide?
- Dominant language
- Objective-C
- Stars
- 7.1k
- Forks
- 720
- PR merge metrics
- No merged PRs in 30d
Description
My scenario is the `JVFloatLabeledTextField` is inside `UITableViewCell` and somehow every time the text field state change from empty to non-empty or the other way around I want to animate the cell height (cell height is changed) So I use every time text field is changed.
But this call make the floating text animation non-existence.
```
[self.tableView beginUpdates];
[self.tableView endUpdates];
```
I know that this problem occur because the floating text animation is replaced by table view cell animation and I think adding some delay and calling show/hide manually for floating text may work but the lib does not expose the public method for that.
I don't know this is the correct way or not if you have any other suggestion please guide me.
Thanks.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the JVFloatLabeledTextField public API and the show/hide behavior described in the issue. Reproduce the UITableView beginUpdates/endUpdates interaction with a text field in a cell, then determine how manual floating-label animation control should be exposed. Done means the floating-label transition can be triggered without being overridden by the cell-height animation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- objective-c
- Domain
- mobile
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100