Skip to content

Feat: scroll primitives #46

@runspired

Description

@runspired

I'm thinking about adding an API for scrollable boxes. This is a first pass idea of one way this might be done.

Properties

  • scrollX
  • scrollY
  • scrollXY
  • scrollNone

Breakpoint Attributes

  • xs="scrollX"
  • sm="noScrollX"

I'm also investigating whether an element approach might be more ideal.

<scrollable scrollX scrollY>
</scrollable>

The element approach would lend itself well to situations in which custom scroll solutions are needed, or where you want to wrap occlusion/recycling based list solutions such as ember-collection or smoke-and-mirrors.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions