Hi,
version: SmartClient_v100p_2016-01-15_LGPL, also testsed 01-03, 2015-07-xx doesn't work too.
browsers: chrome, firefox latests.
test case:
1) click on filter "a" (filter focused)
2) click on filter "b" (nothing happens)
3) click on filter "c" (nothing happens)
4) click second time on filter "c" (focuses)
if you remove "filterByCell: true" you'll get a correct behavior, then you click you'll be focused in item.
fix: is pretty easy:
patch to FormItem.focusInItem(..) method:
more info: https://bugzilla.mozilla.org/show_bug.cgi?id=591890
version: SmartClient_v100p_2016-01-15_LGPL, also testsed 01-03, 2015-07-xx doesn't work too.
browsers: chrome, firefox latests.
test case:
1) click on filter "a" (filter focused)
2) click on filter "b" (nothing happens)
3) click on filter "c" (nothing happens)
4) click second time on filter "c" (focuses)
if you remove "filterByCell: true" you'll get a correct behavior, then you click you'll be focused in item.
Code:
isc.ListGrid.create({ width: 400, height: 200, autoDraw: true, showFilterEditor: true, filterByCell: true, fields: [ { name: 'a', }, { name: 'b' }, { name: 'c' } ] });
fix: is pretty easy:
patch to FormItem.focusInItem(..) method:
Code:
// Fire a notification function centrally so we know a programmatic focus // change has been triggered isc.FormItem._aboutToFireNativeElementFocus(this); isc.EventHandler._unconfirmedFocus = this; element.focus(); // <- this focus() doesn't work because this action is inside native mouse down event handler. //replace to: setTimeout(function () { element.focus(); }, 0); // as it will be called outside event handler.
Comment