-
Notifications
You must be signed in to change notification settings - Fork 45
8714 add show prop to popover-button #8755
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
base: release/3
Are you sure you want to change the base?
Conversation
Add optional ´_show´ prop to control the popover visibility state programmatically. When set to true, the popover opens initially on component load. Refs: #8714
|
🚀 MCP preview deployed to Vercel: https://kolibri-m42cz6401-public-ui-kolibri-mcp.vercel.app |
|
Netlify Draft Deployment |
deleonio
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Snapshots aktualisieren - bitte: das geht über Actions und Snapshot updaten und branch auswählen.
packages/components/src/components/table-stateless/test/snapshot.spec.tsx
Show resolved
Hide resolved
|
@yurtsever Bitte alle PRs sauber mit Ticket verknüpfen. Traceability |
packages/components/src/components/popover-button/component.tsx
Outdated
Show resolved
Hide resolved
packages/components/src/components/popover-button/component.tsx
Outdated
Show resolved
Hide resolved
packages/components/src/components/popover-button/component.tsx
Outdated
Show resolved
Hide resolved
packages/components/src/components/popover-button/component.tsx
Outdated
Show resolved
Hide resolved
packages/components/src/components/popover-button/component.tsx
Outdated
Show resolved
Hide resolved
...name-transformer/snapshots/theme-default/snapshot-for-popover-button-basic-firefox-linux.png
Show resolved
Hide resolved
packages/components/src/components/popover-button/component.tsx
Outdated
Show resolved
Hide resolved
...s/themes/default/snapshots/theme-default/snapshot-for-popover-button-basic-firefox-win32.png
Outdated
Show resolved
Hide resolved
01e0d77 to
c27ec59
Compare
$ Refs: #8714
| validateShow(this, value); | ||
| } | ||
|
|
||
| public componentDidLoad() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Es muss nach dem Render passieren: https://stenciljs.com/docs/component-lifecycle
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wenn man die show prop initial auf true setzt und show- bzw. hide-popover in der componentDidRender aufruft macht dann schließt sich der popover nicht.
Wenn die prop initial auf false gesetzt wird öffnet sich der popover erst nach dem zweiten Klick.
Ist das das gewünschte verhalten ?
deleonio
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ich habe gerade gesehen, dass noch ein Punkt offen ist.
This Adds a optional _show prop to control the popover visibility state programmatically.
When set to true, the popover opens initially on component load.