Skip to content

refactor: improve basic popup view structure and fix issues#624

Merged
ACTCD merged 6 commits into
mainfrom
fix/popup_size_and_basic_refactor
Feb 20, 2024
Merged

refactor: improve basic popup view structure and fix issues#624
ACTCD merged 6 commits into
mainfrom
fix/popup_size_and_basic_refactor

Conversation

@ACTCD

@ACTCD ACTCD commented Feb 10, 2024

Copy link
Copy Markdown
Collaborator

fix #621

Using a fixed width and height popup on macOS

Using no fixed height popup on iOS

ipados_rec.mp4
visionos_rec.mp4

This PR is just a basic refactoring and fix for the issues at hand.

More detailed adjustments will be made in future popup reconstruction.

resolve popup open size adaptation
resolve height and safe area adaptation
avoid some unpleasant height changes and bounces
There is currently no effective way to detect visionOS in Apple Vision (Designed for iPad) mode.
So it can only always be treated as ios to handle any surprises.
setBadgeText `null` value tested working on Safari 15.6.1 (macOS 12.6).
@ACTCD ACTCD requested a review from quoid February 10, 2024 06:37
@ACTCD ACTCD force-pushed the fix/popup_size_and_basic_refactor branch from a1ec620 to 8d9b7a2 Compare February 12, 2024 04:37
@ACTCD ACTCD merged commit 7656688 into main Feb 20, 2024
@ACTCD ACTCD deleted the fix/popup_size_and_basic_refactor branch February 20, 2024 02:16
ACTCD added a commit that referenced this pull request Jul 11, 2024
@ACTCD ACTCD mentioned this pull request Jul 11, 2024
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.

Safari Extension in Apple Vision Pro

2 participants