Open
Description
Maybe this is useful to others as well. Its a style that I use to hide buttons that are disabled. I use it for disabledStyle.
The hidden button will still take a little space though. Not sure why.
buttonDisabled: {
width: 1,
height: 1,
margin: 0,
borderColor: 'rgba(0,0,0,0)', // transparent
backgroundColor: 'rgba(0,0,0,0)'
}
Metadata
Metadata
Assignees
Labels
No labels