S-clickable-chip onRemove not being triggered

As the title mentions, onRemove doesn’t get triggered with removable.

                  <s-clickable-chip
                    key={filter.key}
                    removable
                    onClick={() => filter.onRemove(filter.key)}
                    onRemove={() => {
                      console.log("test");
                      filter.onRemove(filter.key);
                    }}>

^ onClick works but onRemove does not

If you’re using React19, you can temporarily work around this by doing onremove.

2 Likes

We’ve updated our testing infra to better catch these regressions, so hopefully this doesn’t happen again. (Update fixing this should roll out soon-ish)

1 Like