Closed Bug 1050776 Opened 10 years ago Closed 8 years ago

Indianrailway dropdown menu is not working properly

Categories

(Web Compatibility :: Site Reports, defect)

Other
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: Swarnava, Unassigned)

References

()

Details

(Whiteboard: [country-in][contactready])

Go to: http://www.indianrail.gov.in/dont_Know_Station_Code.html Type hwh or sdah in from or to field Actual result: Nothing is coming Expected result: It should show the relevant station name. Tried with Firefox 31 stable Nexus 7 2012 edition 33.0a2 aurora Samsung Galaxy SII
It seems like we're running into Bug 354358. u.bind(($.browser.opera ? 'keypress' : 'keydown') + '.autocomplete', function (a) { s = 1; k = a.keyCode; switch (a.keyCode) { The jquery.autocomplete.js script they're using only listens for keypress or keydown and Firefox for Android doesn't fire those--but fires "input" instead. I'm not sure which jquery plugin they're using--I searched for a few, but didn't seem to find it. Ideally we could report this issue to the plugin author. Suggested fix would be to listen for the "input" event in addition to/rather than just keydown/keypress. (http://stackoverflow.com/questions/14194247/key-event-doesnt-trigger-in-firefox-on-android-when-word-suggestion-is-on http://forum.jquery.com/topic/input-text-events-for-firefox-on-android)
Whiteboard: [country-in][contactready]
Depends on: 354358
This is working now.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WORKSFORME
Product: Tech Evangelism → Web Compatibility
Component: Mobile → Site Reports
You need to log in before you can comment on or make changes to this bug.