mattermost-community/focalboard

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

オープン

#2,065 opened on 2022/01/07

 (0 件のコメント) (0 件のリアクション) (0 人の担当者)TypeScript (2,542 件のフォーク)user submission
BugHelp WantedUp for grabs

Repository metrics

Stars
 (26,187 個のスター)
PR merge metrics
 (30d に merged 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.

コントリビューターガイド