fix(teleport): should only force remove teleport when not disabled
fix #2323
This commit is contained in:
@@ -20,7 +20,7 @@ export interface TeleportProps {
|
||||
|
||||
export const isTeleport = (type: any): boolean => type.__isTeleport
|
||||
|
||||
const isTeleportDisabled = (props: VNode['props']): boolean =>
|
||||
export const isTeleportDisabled = (props: VNode['props']): boolean =>
|
||||
props && (props.disabled || props.disabled === '')
|
||||
|
||||
const resolveTarget = <T = RendererElement>(
|
||||
|
||||
Reference in New Issue
Block a user