Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] prizm/components - TableRow context has invalid values for last/first/odd/even #110

Closed
1 of 7 tasks
AleksandrSibiakov opened this issue Mar 27, 2023 · 2 comments
Closed
1 of 7 tasks
Assignees
Labels
state:ready ready for release (pass tested)
Milestone

Comments

@AleksandrSibiakov
Copy link
Contributor

Библиотека

  • @prizm-ui/core
  • @prizm-ui/components
  • @prizm-ui/install
  • @prizm-ui/icons
  • @prizm-ui/flag-icons
  • @prizm-ui/theme
  • @prizm-ui/charts

Компонент

Table

Версия

1.0.0-beta.26

Скрин / Видео проблемы

image

Описание проблемы

В контексте TableRow неверные значения:

  • first/last чередуются через один
  • even/odd не чередуются

Похоже, поведение перепутано - first/last <-> odd/even соответственно.

Шаги воспроизведения:

  1. Зайти по адресу prizm
  2. Строки закрашены через одну.
@ZurabDev ZurabDev self-assigned this Mar 28, 2023
@ZurabDev ZurabDev added the state:in_progress We work on this issue label Mar 29, 2023
@ZurabDev ZurabDev added state:ready ready for release (pass tested) and removed state:in_progress We work on this issue labels Mar 29, 2023
@ZurabDev
Copy link
Contributor

CleanShot 2023-03-29 at 14 21 58@2x

Готово. Появиться в 28 версии фикс

@ZurabDev ZurabDev added this to the 1.0.0.beta.28 milestone Mar 29, 2023
@AleksandrSibiakov
Copy link
Contributor Author

AleksandrSibiakov commented Apr 1, 2023

Прошу прощения, разве even - это не "четное"? (odd - нечетное?) А, это же индексы элементов, а не CSS.

@ZurabDev ZurabDev closed this as completed Apr 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
state:ready ready for release (pass tested)
Projects
None yet
Development

No branches or pull requests

2 participants