SwiftUI.js
Components

ScrollClipDisabled

ScrollClipDisabled adapts SwiftUI's `scrollClipDisabled` modifier into an explicit wrapper.

ScrollClipDisabled adapts SwiftUI's `scrollClipDisabled` modifier into an explicit wrapper.

Examples

Disabled

Preview unavailable for this example in the static docs build.

Show code
<ScrollClipDisabled disabled>
      <Text>Allow content to bleed outside the clip edge</Text>
    </ScrollClipDisabled>

Variants

Preview unavailable for this example in the static docs build.

Show code
<VStack spacing={12}>
      <ScrollClipDisabled disabled>
        <Text>Clip disabled for carousel chrome</Text>
      </ScrollClipDisabled>
      <ScrollClipDisabled disabled={false}>
        <Text>Clip remains enabled</Text>
      </ScrollClipDisabled>
    </VStack>

API

PropTypeRequiredDescription
disabledbooleanNoNo description yet.

Inherits additional props from IBaseComponent.

Overview

ScrollClipDisabled adapts SwiftUI's scrollClipDisabled modifier into an explicit wrapper.

Status: adapted

On this page