mattermost-community/focalboard

Bug: Date picker - clicking "today" multiple times when date range is set clears the date

Open

#2,065 建立於 2022年1月7日

在 GitHub 查看
 (0 留言) (0 反應) (0 負責人)TypeScript (2,542 fork)user submission
BugHelp WantedUp for grabs

倉庫指標

Star
 (26,187 star)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

Steps to reproduce the behavior

  1. Open a card
  2. Create a date property and edit it
  3. Select a date
  4. Enable "Date range" and select an end date
  5. Click on the "today" button - it sets start date to today
  6. Click "today" again - it sets the end date to today
  7. Click "today" again - it clears the date
  8. Click "today" again - it re-sets the date to just today, without a range

Expected behavior

Clicking "today" the third time should not clear the date.

Screenshots

https://user-images.githubusercontent.com/46905241/148566850-962820c6-14d3-422c-8223-8bdcfa259b5e.mov

Edition and Platform

  • Edition: Mattermost plugin
  • Version: v0.12 RC1
  • Browser and OS: Mac Chrome

Additional context

If only a single date is selected to begin with, clicking "today" multiple times does not clear the picker.

貢獻者指南