On Tue, 26 May 2026 18:27:56 GMT, Ziad El Midaoui <[email protected]> wrote:
> Issue originally happened on `TextField` but it's also reproducible in > `TextArea` when CSS option `-fx-prompt-text-fill` is used. > To fix this issue the prompt visibility is now based directly on control > focus state `control.isFocused()`. > > --------- > - [x] I confirm that I make this contribution in accordance with the [OpenJDK > Interim AI Policy](https://openjdk.org/legal/ai). Is this really a bug though? I use this as a feature explicitly to still show the prompt while focused. This is the better solution for most UIs as users might never see the prompt of the first text field that is focused. So I would not like to see this changed For styles, can't you just use `*:focused { -fx-prompt-text-fill: transparent; }`? ------------- PR Comment: https://git.openjdk.org/jfx/pull/2174#issuecomment-4547629940
