I was wondering what is the difference between react events: onFocus
and onFocusCapture
. I could not find an appropriate answer on react's documentation page.
<OutlinedInput
label="price from"
onFocus={handlePriceFocus}
/>
<OutlinedInput
label="price to"
onFocusCapture={handlePriceFocus}
/>
In my case, it seems like onFocus
and onFocusCapture
do the same functionality because I have not noticed any difference when using those two events.