How can i remove outline/border #4663
-
Hey, I want to disable this
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hello @MuttakinHasib, I hope you don't mind me converting your issue to a discussion. Questions like this are better asked here. You can remove the border around the component using You have to remove both <Select
styles={{
control: ({ borderColor, boxShadow, ...provided }, { theme }) => ({
...provided,
borderColor: theme.colors.neutral20,
'&:hover': {
borderColor: theme.colors.neutral30
}
})
}}
/> Regarding the outline around the But you can remove that most likely using the same steps as above but for the <Select
styles={{
input: (provided) => ({
...provided,
'input': {
outline: 'none !important'
}
})
}}
/> |
Beta Was this translation helpful? Give feedback.
Hello @MuttakinHasib,
I hope you don't mind me converting your issue to a discussion. Questions like this are better asked here.
You can remove the border around the component using
react-select
s styling framework.You have to remove both
borderColor
andboxShadow
from the styles and overwrite theborderColor
attribute with either the default or a custom color. The same has to be done for the:hover
state.Regarding the outline around the
<input>
: Thi…