Opened 5 years ago

Closed 5 years ago

Last modified 4 years ago

#18396 closed defect (fixed)

dijit/form/TextBox placeholder text lingers on iOS8

Reported by: pshannon Owned by: bill
Priority: undecided Milestone: 1.8.11
Component: Dijit - Form Version: 1.10.2
Keywords: Cc:
Blocked By: Blocking:

Description

When using a placeholder with dijit/form/TextBox on Mobile Safari for iOS8.1 the placeholder text is not taken down after the first character is typed or when the last character is deleted. Typing a second character or hitting delete for a second time properly updates the placeholder text.

It appears that on iOS8 that the input event and subsequent change to textbox's value happens in the next cycle after the keypress event is fired so when TextBox#_updatePlaceholder? is called the value is stale by a character.

The issue does not occur with iOS7. Tested against Dojo 1.10.x, 1.9.5, and github/master.

Change History (23)

comment:1 Changed 5 years ago by bill

PR is at https://github.com/dojo/dijit/pull/73, waiting for response to my comments there (about the related TextBox? issues on iOS8).

comment:2 Changed 5 years ago by bill

Owner: set to bill
Status: newassigned

comment:3 Changed 5 years ago by Bill Keese <bill@…>

Resolution: fixed
Status: assignedclosed

In 054073823470949ace3003f20fdb66ea5e470670/dijit:

Error: Processor CommitTicketReference failed
Unsupported version control system "git": Can't find an appropriate component, maybe the corresponding plugin was not enabled? 

comment:4 Changed 5 years ago by bill

Milestone: tbd1.11

Initially just checking code into master branch (for 1.11). The fix is non-trivial, so before backporting (if we want to backport), some other people should also check that the fix doesn't break anything.

comment:5 Changed 5 years ago by Bill Keese <bill@…>

In cd0c45dd50af678ca691c72fb39c090bc252bec0/dijit:

Error: Processor CommitTicketReference failed
Unsupported version control system "git": Can't find an appropriate component, maybe the corresponding plugin was not enabled? 

comment:6 Changed 5 years ago by Bill Keese <bill@…>

In 4b3b6fada5bc7135478b3bd82fefda64a9d4b727/dijit:

Error: Processor CommitTicketReference failed
Unsupported version control system "git": Can't find an appropriate component, maybe the corresponding plugin was not enabled? 

comment:7 Changed 5 years ago by Bill Keese <bill@…>

In 9e53ae88621047f96e0d7a4b9c93afdf262a43d8/dijit:

Error: Processor CommitTicketReference failed
Unsupported version control system "git": Can't find an appropriate component, maybe the corresponding plugin was not enabled? 

comment:8 Changed 4 years ago by Bill Keese <bill@…>

In b52780544840461f4e9102ab080b85bf34f68154/dijit:

Error: Processor CommitTicketReference failed
Unsupported version control system "git": Can't find an appropriate component, maybe the corresponding plugin was not enabled? 

comment:9 Changed 4 years ago by Nick Nisi <nick@…>

In 1ade42e637f4388a8688e61c28f5f2fc6702a605/dijit:

Error: Processor CommitTicketReference failed
Unsupported version control system "git": Can't find an appropriate component, maybe the corresponding plugin was not enabled? 

comment:10 Changed 4 years ago by Bill Keese <bill@…>

In a18736b2d282af4666f03e33562f4ed67a86eab6/dijit:

Error: Processor CommitTicketReference failed
Unsupported version control system "git": Can't find an appropriate component, maybe the corresponding plugin was not enabled? 

comment:11 Changed 4 years ago by Bill Keese <bill@…>

In f0cd642fe6094150c00d65cdc12d00c3109ed723/dijit:

Error: Processor CommitTicketReference failed
Unsupported version control system "git": Can't find an appropriate component, maybe the corresponding plugin was not enabled? 

comment:12 Changed 4 years ago by Bill Keese <bill@…>

In fd33733bcf103058bdb8ef53e13e5e6a41ab93ad/dijit:

Error: Processor CommitTicketReference failed
Unsupported version control system "git": Can't find an appropriate component, maybe the corresponding plugin was not enabled? 

comment:13 Changed 4 years ago by Bill Keese <bill@…>

In f684ede2687f91d2f7b78cf6eb24585a3d556349/dijit:

Error: Processor CommitTicketReference failed
Unsupported version control system "git": Can't find an appropriate component, maybe the corresponding plugin was not enabled? 

comment:14 Changed 4 years ago by Bill Keese <bill@…>

In f2ce2fc1ddc2659e3370ee148c8ad1bf0c390895/dijit:

Error: Processor CommitTicketReference failed
Unsupported version control system "git": Can't find an appropriate component, maybe the corresponding plugin was not enabled? 

comment:15 Changed 4 years ago by bill

Milestone: 1.111.8.11

comment:16 Changed 4 years ago by Bill Keese <bill@…>

In ba3a6b1ba8d405f7aecd1764406ccc6484c56537/dijit:

Error: Processor CommitTicketReference failed
Unsupported version control system "git": Can't find an appropriate component, maybe the corresponding plugin was not enabled? 

comment:17 Changed 4 years ago by Bill Keese <bill@…>

In 3b14c63360f90d8dcca30b6031c878c0acc6be68/dijit:

Error: Processor CommitTicketReference failed
Unsupported version control system "git": Can't find an appropriate component, maybe the corresponding plugin was not enabled? 

comment:18 Changed 4 years ago by Bill Keese <bill@…>

In 82e3f709617edd70951389e0a5cae1061fa01ac0/dijit:

Error: Processor CommitTicketReference failed
Unsupported version control system "git": Can't find an appropriate component, maybe the corresponding plugin was not enabled? 

comment:19 Changed 4 years ago by Bill Keese <bill@…>

In 6e4e68aefa034a1a8a1ffcf5700e580e49d8b1d8/dijit:

Error: Processor CommitTicketReference failed
Unsupported version control system "git": Can't find an appropriate component, maybe the corresponding plugin was not enabled? 

comment:20 Changed 4 years ago by Bill Keese <bill@…>

In 563129c4745338d859d4b26460b225ff0a80955c/dijit:

Error: Processor CommitTicketReference failed
Unsupported version control system "git": Can't find an appropriate component, maybe the corresponding plugin was not enabled? 

comment:21 Changed 4 years ago by Bill Keese <bill@…>

In bc4a82d4d017509faededebbbdbad7c6054a25df/dijit:

Error: Processor CommitTicketReference failed
Unsupported version control system "git": Can't find an appropriate component, maybe the corresponding plugin was not enabled? 

comment:22 Changed 4 years ago by Bill Keese <bill@…>

In f3f10cc5be13c3cb2531c5cdbfe53b0fd0b55b3b/dijit:

Error: Processor CommitTicketReference failed
Unsupported version control system "git": Can't find an appropriate component, maybe the corresponding plugin was not enabled? 

comment:23 Changed 4 years ago by Bill Keese <bill@…>

In 74445e54eeb74821df470a25140bbbad248fa32c/dijit:

Error: Processor CommitTicketReference failed
Unsupported version control system "git": Can't find an appropriate component, maybe the corresponding plugin was not enabled? 
Note: See TracTickets for help on using tickets.