Skip to content

Commit

Permalink
remove absolute portal root from emojis since it's not used
Browse files Browse the repository at this point in the history
  • Loading branch information
walmat committed Jan 10, 2025
1 parent 6aff7ab commit 50e1d6b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/components/floating-emojis/FloatingEmojis.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import FloatingEmoji from './FloatingEmoji';
import GravityEmoji from './GravityEmoji';
import { useTimeout } from '@/hooks';
import { position } from '@/styles';
import { AbsolutePortalRoot } from '@/components/AbsolutePortal';

interface Emoji {
emojiToRender: string;
Expand Down Expand Up @@ -99,7 +98,6 @@ const FloatingEmojis: React.FC<FloatingEmojisProps> = ({
return (
<View style={[{ zIndex: 1 }, style]} {...props}>
{typeof children === 'function' ? children({ onNewEmoji }) : children}
<AbsolutePortalRoot />
<Animated.View
pointerEvents="none"
style={{
Expand Down

0 comments on commit 50e1d6b

Please sign in to comment.