The first Enter press in a multiline text input does not create a new line
Opened this issue · 3 comments
crazyjay97 commented
When I first focus on the Input, the first press of Enter does not produce a newline effect. During the program's lifecycle, the first press of Enter after each subsequent focus will not produce any effect.
let text_input = cx.new_view(|cx| {
TextInput::new(cx).multi_line().rows(3).with_size(px(12.0))
});
huacnlee commented
I can't replay this issue. Would do please take a video for show it?
crazyjay97 commented
enter.mov
crazyjay97 commented
OS: macOS Sequoia 15.0.1
actually, I had to press Enter twice to create a new line.
maybe it's an issue with my laptop