pull/5370/head
lianahus 2 years ago
parent 97931ebaff
commit bdcf65dd67
  1. 3
      libs/remix-ui/home-tab/src/lib/components/homeTabFeaturedPlugins.tsx
  2. 3
      libs/remix-ui/home-tab/src/lib/components/homeTabGetStarted.tsx

@ -38,7 +38,8 @@ function HomeTabFeaturedPlugins ({plugin}: HomeTabFeaturedPluginsProps) {
node = node.parentNode; node = node.parentNode;
} }
return false; return false;
} }
const handleScroll = (e) => { const handleScroll = (e) => {
if (isDescendant(carouselRefDiv.current, e.target)) { if (isDescendant(carouselRefDiv.current, e.target)) {
e.stopPropagation() e.stopPropagation()

@ -36,7 +36,8 @@ function HomeTabGetStarted ({plugin}: HomeTabGetStartedProps) {
node = node.parentNode; node = node.parentNode;
} }
return false; return false;
} }
const handleScroll = (e) => { const handleScroll = (e) => {
if (isDescendant(carouselRefDiv.current, e.target)) { if (isDescendant(carouselRefDiv.current, e.target)) {
e.stopPropagation() e.stopPropagation()

Loading…
Cancel
Save