Skip to content

Commit

Permalink
fix(Dropdown): allow remove chips on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
rivka-ungar committed Jan 6, 2025
1 parent 8201d7f commit 03ad07a
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,12 @@ export default function Container({ children, selectProps, ...otherProps }) {

return (
<components.ValueContainer selectProps={selectProps} {...otherProps}>
<div className={classes["value-container"]}>
<div
className={classes["value-container"]}
onTouchEndCapture={e => {
e.stopPropagation();
}}
>
{showPlaceholder && (
<div className={classes["placeholder-container"]}>
<components.Placeholder {...otherProps}>{placeholder}</components.Placeholder>
Expand Down

0 comments on commit 03ad07a

Please sign in to comment.