diff --git a/apps/pwa/src/components/periodic-table/PeriodicTable.tsx b/apps/pwa/src/components/periodic-table/PeriodicTable.tsx index 6396ad8c..17cfd268 100644 --- a/apps/pwa/src/components/periodic-table/PeriodicTable.tsx +++ b/apps/pwa/src/components/periodic-table/PeriodicTable.tsx @@ -191,6 +191,7 @@ function PeriodicTable({ elementRenderer, className }: PeriodicTableProps) { allowRightClickPan: false, allowMiddleClickPan: false, velocityDisabled: true, + excluded: ["element"], }} > { - if (onClick) { - onClick(element); - } - }; - return ( -
{ - if (e.key === "Enter" || e.key === "Space") { - onElementButtonClick(); - } + ); }