You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
importReactfrom"react";import{ControlGroup}from"@blueprintjs/core";import{DateInput,IDateFormatProps}from"@blueprintjs/datetime";constjsDateFormatter: IDateFormatProps={// note that the native implementation of Date functions differs between browsersformatDate: date=>date.toLocaleDateString(),parseDate: str=>newDate(str),placeholder: "M/D/YYYY",};exportconstApp=()=>(<><ControlGroup><DateInput{...jsDateFormatter}/></ControlGroup><ControlGroup><inputtype="text"className="pt-input"/></ControlGroup></>);
Both DateInput and text input have to be in a ControlGroup. Other popovers do not suffer of the same bug.
Actual behavior
Second input goes over the datepicker popover.
Expected behavior
Datepicker to be over all other elements.
Possible solution
I was able to fix it by setting transform: none on ControlGroup.
importReactfrom"react";import{ControlGroup}from"@blueprintjs/core";import{DateInput,IDateFormatProps}from"@blueprintjs/datetime";constjsDateFormatter: IDateFormatProps={// note that the native implementation of Date functions differs between browsersformatDate: date=>date.toLocaleDateString(),parseDate: str=>newDate(str),placeholder: "M/D/YYYY",};exportconstApp=()=>(<><ControlGroupstyle={{transform: "none"}}><DateInput{...jsDateFormatter}/></ControlGroup><ControlGroup><inputtype="text"className="pt-input"/></ControlGroup></>);
The text was updated successfully, but these errors were encountered:
Environment
Steps to reproduce
Both DateInput and text input have to be in a ControlGroup. Other popovers do not suffer of the same bug.
Actual behavior
Second input goes over the datepicker popover.
Expected behavior
Datepicker to be over all other elements.
Possible solution
I was able to fix it by setting
transform: none
onControlGroup
.The text was updated successfully, but these errors were encountered: