Skip to content
This repository was archived by the owner on Apr 8, 2020. It is now read-only.

Commit d9e2c8a

Browse files
committed
Remove preventPhantomEvents for now
1 parent 140389a commit d9e2c8a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/csstransition.tsx

+3-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ import { mergeWithBaseStyle } from "./composables/mergeWithBaseStyle";
88
import { withTransitionInfo, WithTransitionInfoProps } from "./composables/withTransitionInfo";
99
import { withTransitionObserver, WithTransitionObserverProps } from "./composables/withTransitionObserver";
1010
import { withWorkaround } from "./composables/withWorkaround";
11-
import { preventPhantomEvents } from "./composables/preventPhantomEvents";
1211
import { withDOMNodeCallback, WithDOMNodeCallbackProps } from "./composables/withDOMNodeCallback";
12+
// import { preventPhantomEvents } from "./composables/preventPhantomEvents";
1313

1414
export type CSSTransitionDelay = number | { appear?: number; enter?: number; leave?: number };
1515
export type CSSTransitionEventHandler = () => void;
@@ -98,7 +98,8 @@ const enhance = assemble<CSSTransitionInnerProps, CSSTransitionProps>(
9898
withTransitionInfo,
9999
withTransitionObserver,
100100
withWorkaround,
101-
preventPhantomEvents,
101+
// TODO: needs more investigation and probably a different way to do it.
102+
// preventPhantomEvents,
102103
mapPropsToInner,
103104
);
104105

0 commit comments

Comments
 (0)