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 css console error #66

Closed
JesseRWeigel opened this issue Sep 17, 2022 · 3 comments
Closed

Fix css console error #66

JesseRWeigel opened this issue Sep 17, 2022 · 3 comments
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@JesseRWeigel
Copy link
Owner

react_devtools_backend.js:4026 Warning: Failed prop type: Invalid props.style key `fontSize` supplied to `View`.
Bad object: {
  "paddingBottom": 15,
  "fontSize": 40,
  "fontFamily": "\"Comic Sans MS\", cursive, sans-serif"
}
Valid keys: [
  "animationDelay",
  "animationDirection",
  "animationDuration",
  "animationFillMode",
  "animationIterationCount",
  "animationName",
  "animationPlayState",
  "animationTimingFunction",
  "transitionDelay",
  "transitionDuration",
  "transitionProperty",
  "transitionTimingFunction",
  "borderColor",
  "borderBottomColor",
  "borderEndColor",
  "borderLeftColor",
  "borderRightColor",
  "borderStartColor",
  "borderTopColor",
  "borderRadius",
  "borderBottomEndRadius",
  "borderBottomLeftRadius",
  "borderBottomRightRadius",
  "borderBottomStartRadius",
  "borderTopEndRadius",
  "borderTopLeftRadius",
  "borderTopRightRadius",
  "borderTopStartRadius",
  "borderStyle",
  "borderBottomStyle",
  "borderEndStyle",
  "borderLeftStyle",
  "borderRightStyle",
  "borderStartStyle",
  "borderTopStyle",
  "cursor",
  "touchAction",
  "userSelect",
  "willChange",
  "alignContent",
  "alignItems",
  "alignSelf",
  "backfaceVisibility",
  "borderWidth",
  "borderBottomWidth",
  "borderEndWidth",
  "borderLeftWidth",
  "borderRightWidth",
  "borderStartWidth",
  "borderTopWidth",
  "bottom",
  "boxSizing",
  "direction",
  "display",
  "end",
  "flex",
  "flexBasis",
  "flexDirection",
  "flexGrow",
  "flexShrink",
  "flexWrap",
  "height",
  "justifyContent",
  "left",
  "margin",
  "marginBottom",
  "marginHorizontal",
  "marginEnd",
  "marginLeft",
  "marginRight",
  "marginStart",
  "marginTop",
  "marginVertical",
  "maxHeight",
  "maxWidth",
  "minHeight",
  "minWidth",
  "order",
  "overflow",
  "overflowX",
  "overflowY",
  "padding",
  "paddingBottom",
  "paddingHorizontal",
  "paddingEnd",
  "paddingLeft",
  "paddingRight",
  "paddingStart",
  "paddingTop",
  "paddingVertical",
  "position",
  "right",
  "start",
  "top",
  "visibility",
  "width",
  "zIndex",
  "aspectRatio",
  "gridAutoColumns",
  "gridAutoFlow",
  "gridAutoRows",
  "gridColumnEnd",
  "gridColumnGap",
  "gridColumnStart",
  "gridRowEnd",
  "gridRowGap",
  "gridRowStart",
  "gridTemplateColumns",
  "gridTemplateRows",
  "gridTemplateAreas",
  "shadowColor",
  "shadowOffset",
  "shadowOpacity",
  "shadowRadius",
  "shadowSpread",
  "perspective",
  "perspectiveOrigin",
  "transform",
  "transformOrigin",
  "transformStyle",
  "backgroundColor",
  "opacity",
  "elevation",
  "backdropFilter",
  "backgroundAttachment",
  "backgroundBlendMode",
  "backgroundClip",
  "backgroundImage",
  "backgroundOrigin",
  "backgroundPosition",
  "backgroundRepeat",
  "backgroundSize",
  "boxShadow",
  "clip",
  "filter",
  "outline",
  "outlineColor",
  "overscrollBehavior",
  "overscrollBehaviorX",
  "overscrollBehaviorY",
  "scrollSnapAlign",
  "scrollSnapType",
  "WebkitMaskImage",
  "WebkitOverflowScrolling"
]
    in View (at App.js:75)
    in App (at src/index.js:7)
@JesseRWeigel JesseRWeigel added bug Something isn't working good first issue Good for newcomers labels Sep 17, 2022
@ayrbox
Copy link
Contributor

ayrbox commented Sep 26, 2022

Hey @JesseRWeigel,

I was not able to replicate the issue in master branch. Please refer to the screenshot. Does it got resolved after any package updates?

Screenshot 2022-09-26 at 23 52 14

@JesseRWeigel
Copy link
Owner Author

I thought it was still there but maybe it was fixed. I will double check and get back to you.

@JesseRWeigel
Copy link
Owner Author

@ayrbox you are correct, the errors are gone. Nice catch!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants