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

Styling not applied to CardView wrapper when using an action bar #7684

Open
jluyau opened this issue Jan 30, 2025 · 0 comments
Open

Styling not applied to CardView wrapper when using an action bar #7684

jluyau opened this issue Jan 30, 2025 · 0 comments

Comments

@jluyau
Copy link
Member

jluyau commented Jan 30, 2025

Provide a general summary of the issue here

If providing styling to <CardView> configured with renderActionBar, the props (e.g. UNSAFE_style, UNSAFE_className, styles) do not get applied to the wrapper (

<div ref={domRef} className={style({position: 'relative', overflow: 'clip', size: 'fit'})}>
{cardView}
{actionBar}
</div>
)

🤔 Expected Behavior?

should be able to style the wrapper (when using an action bar) as one would style CardView

😯 Current Behavior

because the styles are not applied to the outer wrapper, the cardview does not behavior as we would like (e.g. placing it within a grid area). placing a div with these styling props around cardview configured with an action bar also doesn't work as expected

💁 Possible Solution

No response

🔦 Context

unable to place cardview within a specific grid area

🖥️ Steps to Reproduce

configure <CardView> with renderActionBar and a styling prop (e.g. styles)

Version

s2: 0.6.0

What browsers are you seeing the problem on?

Chrome

If other, please specify.

No response

What operating system are you using?

macOS Sonoma 14.1.1

🧢 Your Company/Team

No response

🕷 Tracking Issue

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🩺 To Triage
Development

No branches or pull requests

1 participant