Fomantic-ui: "Today" in calendar popup shares className with range cells

Created on 25 Jul 2019  路  2Comments  路  Source: fomantic/Fomantic-UI

Bug Report

Apparently "Today" button in calendar popup shares _className_ with range cells.

Steps to reproduce

  1. Select a date as "startDate" of the range, from the first input
  2. Open calendar popup for the second input
  3. Try to mouseover cells _BEFORE_ and _AFTER_ today cell, as you would select the "endDate" for the range

Expected result

"Today" button should not change color, not depending on the date you select as "endDate" of the range

Actual result

"Today" button has different backgroud and text color based on the date you select: if after today it takes the same colors.

Testcase

https://jsfiddle.net/a0re4nyd/1/

Version

2.7.6

typbug

Most helpful comment

Hey, I would like to take this :smiley:

All 2 comments

Hey, I would like to take this :smiley:

Fixed by #1066

Was this page helpful?
0 / 5 - 0 ratings

Related issues

PhilippGrashoff picture PhilippGrashoff  路  3Comments

hajanajubudeen88 picture hajanajubudeen88  路  4Comments

davekc picture davekc  路  4Comments

lubber-de picture lubber-de  路  4Comments

neokio picture neokio  路  4Comments