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

Text input intrinsic size does not look properly in dark mode #57

Conversation

Marcoo09
Copy link

@Marcoo09 Marcoo09 commented Dec 11, 2023

Summary:

Issue
Added RNTesterThemeContext to change styles based on mode.

Changelog:

Test Plan:

Run both VisionOS and Iphone simulator with light mode and dark mode.
image
image

okwasniewski and others added 30 commits December 11, 2023 10:11
* fix: remove keyboard listerners and mark as unsupported

* chore: replace warn with warnOnce
* [WIP] feat: make hermes build for visionOS

* feat: point to callstack/hermes-visionos fork, update README

* fix: remove USE_HERMES from project.pbxproj
* feat: add visionOS as separate target to fix iOS tests

* fix: disable multiple windows support

* feat: add visionOS App Icon

* fix: creating Release build
* chore: disable some of upstream pipelines

* tests: update snapshot for visionOS

* chore: disable more jobs, fix isVisionOS

* fix: Keyboard.js, adjust pipeline_selection.js

* feat: run iOS tests every night
* Update README.md

* fix: update README link

* feat: add caution section

* fix: bring back info about Hermes
* Add platform guidelines to README

* fix: link to docs
thymikee and others added 15 commits December 11, 2023 10:13
…stack#35)

* rename react-native package to @callstack/react-native-visionos

* fix typo

* Make JS and TS tests independent of react-native package name

* change name in template

* replace more refs in e2e tests

* revert tests changes

* disable js e2e tests for visionos

* bring back react-native for other platforms compat

* ci: run js, no e2e js
…allstack#32)

* rename react-native package to @callstack/react-native-visionos

* wip: metro setup for other platform

* fix(flow): add .ios.visionos as support platform

* fix some flow errors

* fix flow

* revert Platform.select change

* revert KeyboardAvoidingView change

* fix type

* change kBundlePath to ios.visionos

* fix: remove redundant isVisionOS

* use custom resolver options to read platform for OOT

* fix types

* remove formatting

* add/remove platform checks

* document variant behavior

* use visionOS Keyboard mock

* use visionOS KeyboardAvoidingView mock

* use visionOS InputAccessoryView mock

* test: add test for metroPlatformResolver

* move implementation to user space

* create out-of-tree-platforms package and bring back resolver options

* revert flow changes

* revert sourceExts changes

* update links

* add comments

* fix visionos typo

* adjust lockfile

* revert loadMetroConfig change

* remove podfile lock

* revert scripts changes
* feat: implement OOT release script

* docs: add readme on Release process

* fix: remove header file

Co-authored-by: Michał Pierzchała <[email protected]>

* add reference

---------

Co-authored-by: Michał Pierzchała <[email protected]>
* feat: setup @callstack/out-of-tree-platforms to build properly

* feat: add build packages step to `oot-release.js` script

* chore: format package.json
* Update CLI to v12.1.1

# Conflicts:
#	packages/community-cli-plugin/package.json
#	packages/react-native/cli.js
#	packages/react-native/package.json

* feat: implement visionos react-native template

* feat: modify template look

* feat: add `@callstack/out-of-tree-platforms` to metro config

* fix: metro config

* feat: update supported platforms

---------

Co-authored-by: szymonrybczak <[email protected]>
* task(StatusBar component): show warn when using StatusBar

* pr suggestions
Copy link
Member

@okwasniewski okwasniewski left a comment

Choose a reason for hiding this comment

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

Thanks for opening PR, let's open a PR to RN Core to fix the issue on iOS

placeholder="Placeholder defines intrinsic size"
/>
</View>
<RNTesterThemeContext.Consumer>
Copy link
Member

Choose a reason for hiding this comment

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

I think this should be upstreamed to RN Core. As this issue is also on iOS.

@okwasniewski
Copy link
Member

I will close this PR as it should be contributed to RN Core

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.

6 participants