vaadin / vaadin/framework

RichTextArea fires value change listener only after field lost focus in in Explorer

Open
#11,305 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Stale workaround
Dominant language
Java
Stars
1.8k
Forks
717
Avg merge
2d 6h
Merged PRs (30d)
3

Description

RichTextArea in Explorer does not fire value change events while the field has the focus. The event is fired only after user presses tab or clicks elsewhere on the page. The same component in Firefox and Chrome fires events whenever user pauses typing for a short type.

We need on the fly value change event while the user is typing in all browsers.

  • Vaadin Framework version: 8.5.2
  • Browser version: Internet Explorer 11; 11.0.9600.19155
  • Minimal reproducible example: https://demo.vaadin.com/sampler/#ui/data-input/text-input/rich-text-area
  • Expected behavior
    The event is fired when pausing typing in all browsers, the focus loss is not necessary.
  • Actual behavior
    Rich text area in internet explorer fires the event only after blur.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the RichTextArea behavior in the linked sampler using Internet Explorer 11, comparing it with Firefox and Chrome. Trace the value-change event entry point for RichTextArea; done means the event fires after a short typing pause in IE without requiring focus loss.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.