You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tour Kit uses the Card component from Gutenberg, and it uses the isElevated prop. When using it, it gives a warning that the prop is deprecated since WordPress 5.9 and we should use elevation instead.
Steps to reproduce
In a dev environment with the latest version of WordPress, use the WpcomTourKit component and run it in the browser.
To avoid writing code to test it, you can test it by installing Sensei LMS plugin (where it was originally noticed), and creating a course through WP Admin > Courses > New Course.
What you expected to happen
Don't see a deprecation warning.
What actually happened
The following warning is displayed in the browser console:
Card isElevated prop is deprecated since version 5.9. Please use elevation instead.
Impact
One
Available workarounds?
There is no user impact
Platform (Simple and/or Atomic)
No response
Logs or notes
No response
The text was updated successfully, but these errors were encountered:
Quick summary
Tour Kit uses the
Card
component from Gutenberg, and it uses theisElevated
prop. When using it, it gives a warning that the prop is deprecated since WordPress 5.9 and we should useelevation
instead.Steps to reproduce
In a dev environment with the latest version of WordPress, use the
WpcomTourKit
component and run it in the browser.To avoid writing code to test it, you can test it by installing Sensei LMS plugin (where it was originally noticed), and creating a course through WP Admin > Courses > New Course.
What you expected to happen
Don't see a deprecation warning.
What actually happened
The following warning is displayed in the browser console:
Impact
One
Available workarounds?
There is no user impact
Platform (Simple and/or Atomic)
No response
Logs or notes
No response
The text was updated successfully, but these errors were encountered: