-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Offline Mode: Fix keyboard avoidance in submit button #23070
Conversation
@@ -55,11 +54,14 @@ final class DeprecatedPrepublishingViewController: UIViewController, UITableView | |||
let tableView = UITableView(frame: .zero, style: .plain) | |||
private let footerSeparator = UIView() | |||
|
|||
private weak var titleField: UITextField? | |||
let publishButton: NUXButton = { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I reverted the changes made in the scope of the Offline Mode: Phase 1.
tableView, | ||
footerSeparator, | ||
setupPublishButton() | ||
tableView |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I removed the footerSeparator
for now because it was a bit buggy and it wasn't even needed considering the now larger height.
view.addSubview(stackView) | ||
stackView.translatesAutoresizingMaskIntoConstraints = false | ||
view.pinSubviewToSafeArea(stackView) | ||
let contentView = VStack { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not ideal, but it once step closer to reworking it purely in SwiftUI.
I have a prototype, but I'd rather avoid making this large change for now.
📲 You can test the changes from this Pull Request in WordPress Alpha by scanning the QR code below to install the corresponding build.
|
📲 You can test the changes from this Pull Request in Jetpack Alpha by scanning the QR code below to install the corresponding build.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works as described, tested feature flag enabled / disabled
23698db
to
10948d1
Compare
To test
Important
Make sure to check with "Sync Publishing" both ON and OFF
Regression Notes
PR submission checklist:
RELEASE-NOTES.txt
if necessary.Testing checklist: