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

Fix Monaco IOS keyboard button #24341

Merged
merged 7 commits into from
Apr 26, 2023
Merged

Conversation

silverwind
Copy link
Member

@silverwind silverwind commented Apr 25, 2023

Fix #16188. Turns out the element was completely misaligned by fomantic styles. Add most of the original styles in !important form to fix.

Tapping the button doesn't do anything useful in Simulator.app, but I guess it's still better to not outright hide it in case it has a possiblity to work.

image

@GiteaBot GiteaBot added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Apr 25, 2023
@pull-request-size pull-request-size bot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Apr 25, 2023
@silverwind silverwind added this to the 1.20.0 milestone Apr 25, 2023
@silverwind silverwind added the outdated/backport/v1.19 This PR should be backported to Gitea 1.19 label Apr 25, 2023
Copy link
Contributor

@wxiaoguang wxiaoguang left a comment

Choose a reason for hiding this comment

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

Do we know which Fomantic class destroys it?

@GiteaBot GiteaBot added lgtm/need 1 This PR needs approval from one additional maintainer to be merged. and removed lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. labels Apr 26, 2023
@techknowlogick techknowlogick added type/bug topic/ui Change the appearance of the Gitea UI labels Apr 26, 2023
@GiteaBot GiteaBot added lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels Apr 26, 2023
@techknowlogick techknowlogick added the reviewed/wait-merge This pull request is part of the merge queue. It will be merged soon. label Apr 26, 2023
@silverwind
Copy link
Member Author

Do we know which Fomantic class destroys it?

Was something like .ui.form .field textarea because the button is a textarea.

@silverwind silverwind enabled auto-merge (squash) April 26, 2023 04:59
@silverwind silverwind merged commit 4d5c803 into go-gitea:main Apr 26, 2023
GiteaBot added a commit to GiteaBot/gitea that referenced this pull request Apr 26, 2023
Fix go-gitea#16188. Turns out the
element was completely misaligned by fomantic styles. Add most of the
original styles in `!important` form to fix.

Tapping the button doesn't do anything useful in Simulator.app, but I
guess it's still better to not outright hide it in case it has a
possiblity to work.

<img width="121" alt="image"
src="https://user-images.githubusercontent.com/115237/234379685-4e67f8cd-7e91-4bcc-8e17-9d5b2ebed6cd.png">

Co-authored-by: Giteabot <[email protected]>
@GiteaBot GiteaBot added backport/done All backports for this PR have been created and removed reviewed/wait-merge This pull request is part of the merge queue. It will be merged soon. labels Apr 26, 2023
@wxiaoguang
Copy link
Contributor

Do we know which Fomantic class destroys it?

Was something like .ui.form .field textarea because the button is a textarea.

I guess we need a detailed comment for it......

@silverwind silverwind deleted the ios-editor branch April 26, 2023 05:36
@silverwind
Copy link
Member Author

Maybe later. If you wanna check it out yourself, install XCode, then open -a Simulator.app will fire up the IOS simulator and open Safari to connect to it it's "Develop" menu. It's great to test mobile issues like this.

silverwind added a commit that referenced this pull request Apr 26, 2023
Backport #24341 by @silverwind

Fix #16188. Turns out the
element was completely misaligned by fomantic styles. Add most of the
original styles in `!important` form to fix.

Tapping the button doesn't do anything useful in Simulator.app, but I
guess it's still better to not outright hide it in case it has a
possiblity to work.

<img width="121" alt="image"
src="https://user-images.githubusercontent.com/115237/234379685-4e67f8cd-7e91-4bcc-8e17-9d5b2ebed6cd.png">

Co-authored-by: silverwind <[email protected]>
@go-gitea go-gitea locked as resolved and limited conversation to collaborators Sep 20, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
backport/done All backports for this PR have been created lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. outdated/backport/v1.19 This PR should be backported to Gitea 1.19 size/S Denotes a PR that changes 10-29 lines, ignoring generated files. topic/mobile topic/ui Change the appearance of the Gitea UI type/bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

A large white box obstructs the file editor on iOS
4 participants