Skip to content

Web: Invalid style property of "direction" #54

@markstreich

Description

@markstreich

Hi, I'm getting the following warning in the web browser console with expo web:

index.js:1 Warning: Invalid style property of "direction". Did you mean "writingDirection"?
console.<computed>	@	index.js:1
printWarning	@	warning.js:30
...../node_modules/fbjs/lib/warning.js.warning	@	warning.js:51
error	@	validate.js:23
validate	@	validate.js:61
(anonymous)	@	StyleSheet.js:50
create	@	StyleSheet.js:45
...../node_modules/react-native-tailwindcss/tailwind.js	@	tailwind.js:121
__webpack_require__	@	bootstrap:789
fn	@	bootstrap:100
...../node_modules/react-native-tailwindcss/index.js	@	index.js:1
__webpack_require__	@	bootstrap:789
fn	@	bootstrap:100
...../App.js	@	bootstrap:856
__webpack_require__	@	bootstrap:789
fn	@	bootstrap:100
...../node_modules/expo/AppEntry.js	@	AppEntry.js:1
__webpack_require__	@	bootstrap:789
fn	@	bootstrap:100
1	@	log.js:59
__webpack_require__	@	bootstrap:789
(anonymous)	@	bootstrap:856
(anonymous)	@	bootstrap:856

I think it needs to be run in development mode, so you won't see the warning in the snack preview, but here's a minimal reproduction anyway:

https://snack.expo.io/@markstreich/e34409

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions