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

feat(toolbar) Add shadow parts #30069

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

feat(toolbar) Add shadow parts #30069

wants to merge 1 commit into from

Conversation

fudom
Copy link

@fudom fudom commented Dec 10, 2024

Issue number: resolves #30068


What is the current behavior?

You are not able to access parts of the toolbar. This limits you when trying to implement special behavior for your app.

What is the new behavior?

Just added part attributes for let the developer access it via ::part(name) selector. Why not?

Does this introduce a breaking change?

  • Yes
  • No

Other information

I would always add shadow parts to allow for customization. Note, that you cannot select children of shadow parts. Each child element need a shadow part, if it makes sense.

@fudom fudom requested a review from a team as a code owner December 10, 2024 11:02
@fudom fudom requested a review from brandyscarney December 10, 2024 11:02
Copy link

vercel bot commented Dec 10, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
ionic-framework ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 10, 2024 11:04am

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package: core @ionic/core package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

feat: Make toolbar-container selectable via shadow part
1 participant