Skip to content

Commit

Permalink
Merge pull request #4917 from wikimedia/alt-text-publish-bug-fix
Browse files Browse the repository at this point in the history
[ALT TEXT] Resign text view focus before publishing
  • Loading branch information
mazevedofs authored Aug 7, 2024
2 parents d7fe0d5 + 619e5b5 commit b963e50
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,8 @@ final class WMFAltTextExperimentModalSheetView: WMFComponentView {
}

@objc func tappedNext() {
textView.resignFirstResponder()

guard let altText = textView.text,
!altText.isEmpty else {
return
Expand Down

0 comments on commit b963e50

Please sign in to comment.