Skip to content

root: Add window_shadow_size option.#2090

Merged
huacnlee merged 3 commits intolongbridge:mainfrom
richerfu:main
Feb 26, 2026
Merged

root: Add window_shadow_size option.#2090
huacnlee merged 3 commits intolongbridge:mainfrom
richerfu:main

Conversation

@richerfu
Copy link
Contributor

Description

Recently, i made an adaption for gpui that can run in OpenHarmony/HarmonyNext. And i use gpui and gpui-component to make some applications. I find the soft keyboard will effect the dialog mask offset.

Is it possiable for us to add some cfg feature for ohos? Thanks.

Screenshot

Keyboard hide:
image

Keyboard show:
image

Break Changes

  • No breaking

How to Test

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce.

Checklist

  • I have read the CONTRIBUTING document and followed the guidelines.
  • Reviewed the changes in this PR and confirmed AI generated code (If any) is accurate.
  • Passed cargo run for story tests related to the changes.
  • Tested macOS, Windows and Linux platforms performance (if the change is platform-specific)

@richerfu richerfu changed the title fix(ohos): avoid dialog mask get offset when soft keyboard show feat(Root): allow user to custom shadow size with root Feb 26, 2026
@richerfu richerfu requested a review from huacnlee February 26, 2026 01:26
@huacnlee huacnlee changed the title feat(Root): allow user to custom shadow size with root root: Allow user to custom shadow size with root Feb 26, 2026
@huacnlee huacnlee changed the title root: Allow user to custom shadow size with root root: Allow user to custom shadow size Feb 26, 2026
@huacnlee huacnlee self-assigned this Feb 26, 2026
@huacnlee huacnlee changed the title root: Allow user to custom shadow size root: Add window_shadow_size option. Feb 26, 2026
@huacnlee huacnlee enabled auto-merge (squash) February 26, 2026 02:02
@huacnlee huacnlee merged commit 49a1897 into longbridge:main Feb 26, 2026
3 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.

2 participants