Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugfix FXIOS-10727 [BookmarkDetails] TextField keyboard dismissed when tap on outside in AddNewBookmarks #23433

Merged

Conversation

gokulvenkat243
Copy link
Contributor

@gokulvenkat243 gokulvenkat243 commented Nov 27, 2024

📜 Tickets

Jira ticket
Github issue

💡 Description

📝 Checklist

You have to check all boxes before merging

  • Filled in the above information (tickets numbers and description of your work)
  • Updated the PR name to follow our PR naming guidelines
  • Wrote unit tests and/or ensured the tests suite is passing
  • When working on UI, I checked and implemented accessibility (minimum Dynamic Text and VoiceOver)
  • If needed, I updated documentation / comments for complex code and public methods
  • If needed, added a backport comment (example @Mergifyio backport release/v120)

This PR solved the textfield keyboard are dismissed when tap on outside view in AddNewBookmarks(LegacyBookmarkDetailsPanel)

@gokulvenkat243 gokulvenkat243 requested a review from a team as a code owner November 27, 2024 06:45
@gokulvenkat243 gokulvenkat243 changed the title Bugfix FXIOS - #23432- [BookmarkDetails] TextField keyboard not dismissed when tap on outside in AddNewBookmarks Bugfix FXIOS - #23432- [BookmarkDetails] TextField keyboard dismissed when tap on outside in AddNewBookmarks Nov 27, 2024
@thatswinnie thatswinnie changed the title Bugfix FXIOS - #23432- [BookmarkDetails] TextField keyboard dismissed when tap on outside in AddNewBookmarks Bugfix FXIOS-10727 [BookmarkDetails] TextField keyboard dismissed when tap on outside in AddNewBookmarks Nov 27, 2024
Copy link
Contributor

@thatswinnie thatswinnie left a comment

Choose a reason for hiding this comment

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

Could you please enter the details for the description and check the boxes in the checklist for the tasks done with this PR. I also noticed that you didn't update the Jira and Github links so I fixed that as well as update the PR title.

For any future PRs could you please fill out all the details in the PR template and name the PR according to our naming guidelines?

@@ -333,6 +334,18 @@ class LegacyBookmarkDetailPanel: SiteTableViewController, BookmarksRefactorFeatu
return url?.schemeIsValid == true && url?.host != nil
}

private func dismissKeyBoardWhenTapOnOutsideTapGesture() {
Copy link
Contributor

Choose a reason for hiding this comment

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

Thanks so much for this fix @gokulvenkat243 🙏🏼
Do you think you could rename this method to addDismissKeyboardGesture()? The current name sounds more like the action executed when the gesture is activated.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I fixed that.

@mobiletest-ci-bot
Copy link

Messages
📖 Project coverage: 33.76%
📖 Edited 1 files
📖 Created 0 files

Client.app: Coverage: 31.63

File Coverage
LegacyBookmarkDetailPanel.swift 17.96% ⚠️

Generated by 🚫 Danger Swift against a528fcb

@thatswinnie thatswinnie merged commit 275cb9f into mozilla-mobile:main Nov 27, 2024
10 checks passed
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.

3 participants