the onFocus floating effect is lost, when overriding the onFocus-props of a TextField- or FormControl-Component. (same problem with onBlur btw)
https://www.webpackbin.com/bins/-KkudROJc3XfIoli7IxX
override the handleFocus and handleBlur-function and rearrange the props in the FormControl-Component:
class FormControl extends Component {
(...)
handleFocus = () => {
if (!this.state.focused) {
this.setState({ focused: true });
}
if (this.props.onFocus) {
this.props.onFocus();
}
};
render() {
return (<div
className={classNames(classes.root, className)}
{...other}
onFocus={this.handleFocus}
onBlur={this.handleBlur}
>
{children}
</div>
);
}
(...)
}
`
@PutziSan Good catch! Do you want to submit a PR to fix the issue? 馃槃
@PutziSan @oliviertassinari
A workaround is using the TextField.inputProps
<TextField label="TextField" />
<TextField label="TextField.onBlur" onBlur={() => {}} />
<TextField label="TextField.inputProps.onBlur"
inputProps={{onBlur:() => {}}} />
<TextField label="TextField.InputProps.onBlur"
InputProps={{onBlur:() => {}}} />

We will soon release the latest fixes.
Add please this to documentation - neither in Input nor in FormControl i cant find info about redefine onBlur event.