Skip to content

Enhanced (SelectField) demo filtering logic and form handling... #635

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

Merged
merged 4 commits into from
Aug 12, 2025

Conversation

MaCleodWalker
Copy link
Contributor

Enhanced (MultiSelect/MultiSelectField/MultiSelectMenu) demo examples with functional item creation dialogs

Enhanced (NumberStepper) documentation with prefix/suffix slot examples

Fixed (Dialog/Drawer) event propagation preventing outside click detection

Fixed (SelectField) focus management when used within dialogs

…ction

Fixed (SelectField) focus management when used within dialogs

Enhanced (MultiSelect/MultiSelectField/MultiSelectMenu) demo examples with functional item creation dialogs

Enhanced (NumberStepper) documentation with prefix/suffix slot examples

Enhanced (SelectField) demo filtering logic and form handling
Copy link

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

Copy link

changeset-bot bot commented Aug 11, 2025

🦋 Changeset detected

Latest commit: 4575db7

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
svelte-ux Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link
Contributor

github-actions bot commented Aug 11, 2025

built with Refined Cloudflare Pages Action

⚡ Cloudflare Pages Deployment

Name Status Preview Last Commit
svelte-ux ✅ Ready (View Log) Visit Preview 4575db7

Copy link

pkg-pr-new bot commented Aug 11, 2025

Open in StackBlitz

npm i https://pkg.pr.new/svelte-ux@635

commit: 4575db7

'svelte-ux': patch
---

Fixed (Dialog/Drawer) event propagation preventing outside click detectionFixed (SelectField) focus management when used within dialogsEnhanced (MultiSelect/MultiSelectField/MultiSelectMenu) demo examples with functional item creation dialogsEnhanced (NumberStepper) documentation with prefix/suffix slot examplesEnhanced (SelectField) demo filtering logic and form handling
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@MaCleodWalker can you split these into separate files (needed for CHANGELOG). Thanks!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry I'm not familiar with Changesets, Is this what you mean?

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is, thanks. Left a few comments to tweak the messages themselves, but the separate changeset files for each change is exactly what I was looking for. Thanks!

Copy link
Owner

@techniq techniq left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Few small tweaks to changesets. Thanks!

'svelte-ux': patch
---

Fixed (Dialog/Drawer) event propagation preventing outside click detection
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you update the changeset to:

fix(Dialog/Drawer): event propagation preventing outside click detection

I try to follow conventional commits formatting for changesets, similar to Svelte / others

'svelte-ux': patch
---

Enhanced (MultiSelect/MultiSelectField/MultiSelectMenu) demo examples with functional item creation dialogs
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you update to:

docs(MultiSelect/MultiSelectField/MultiSelectMenu): Enhanced demo examples with functional item creation dialogs

and similar for the other doc examples.

Thanks!

Comment on lines +106 to +108
on:mouseup={(e) => {
e.stopPropagation(); // Prevent mouseup from bubbling to outside click handlers (e.g., Popover/Menu clickOutside)
}}
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you show the example(s) where this was broken? Just so I can see the before/after. I'm not surprised to have to add this as event propagation is challenging, and wanted to do some regression testing as well.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Screencast_20250811_171911.webm

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When I updated it before i used tab on my keyboard so I didn't notice that when you click anything in the dialog the select field closes.

@techniq techniq merged commit 17cb522 into techniq:main Aug 12, 2025
4 checks passed
This was referenced Aug 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants