Skip to content

Bug: Inconsistent styling of markers in item-by-item-fn #367

@Jack-Sandberg

Description

@Jack-Sandberg

The item-by-item-fn seems to treat the first item differently from the others by including the marker in the styling of the first item, but not the others. Consider the example:

#item-by-item-fn("current-highlight")[
  - First
  - Second
  - Third
]
Image Image Image

In the first slide, the marker and the text are highlighted but in the second and third slide only the text is highlighted.

The desired behavior should either be to always highlight the marker or never highlight it. More generally, the question is whether the marker should be part of the content and follow its styling or not.

For highlighting, it seems strange to highlight the marker. However, when using "past-faded" or "past-progressive-faded", I would prefer if the markers follow the styling of the text and also fade. Currently, they do not:

#item-by-item-fn("past-progressive-faded")[
  - First
  - Second
  - Third
  - Fourth
  - Fifth
]
Image

Related issues: #264 and #347

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions