Skip to content

Improving answer field behaviour when keyboard appears#190

Open
EmersonCarpes wants to merge 1 commit intodevfrom
ec/improvement-question-keyboard
Open

Improving answer field behaviour when keyboard appears#190
EmersonCarpes wants to merge 1 commit intodevfrom
ec/improvement-question-keyboard

Conversation

@EmersonCarpes
Copy link
Copy Markdown
Contributor

@EmersonCarpes EmersonCarpes commented Nov 24, 2025

What did you change:

  • Improving the answer field behavior so it stays visible when the keyboard appears

New behavior

after.mov

Old behavior

before.mov

}
.onChange(of: isFocused, perform: { newValue in
if newValue {
withAnimation(.default) {
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
withAnimation(.default) {
withAnimation {

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants