When I use combo with subload (5000 records in database) and in result 10-100 Scroll slider is tremble. But in your example it’s work fined.
Why?
Do you see this before?
I detected problem,
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
I use this DOCTYPE, so it’s problem for combo.
If I use doctype from your source
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
it’s not correct.
If I not use DOCTYPE it’s work - But it’s not correct for My html-page.
Is it bug or…?
So, and after this I can’t click on last item of combo (((
One more thing:
dhtmlx.com/docs/products/dht … ig_db.html
Pay attantion щи the 4th parameter of method enableFilteringMode(): autosubload - (boolean) enable auto load additional suggestions on selecting last loaded option.
Make the true or false, how your combo should behave.
Also I want to specify, what method do you use of a combo filtration: server or client?
Befor you reply I use:
z.enableFilteringMode(true, "person.php", true, true);
After you reply:
z.enableFilteringMode(true, "person.php", true, false);
so, now last item is OK.
But it’s not help for Scroll slider. It’s tremble. So if I drop
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
- Scroll slider is Ok, but my html-page is bad.
If you have ideas about problems with DOCTYPE, answer please!
To reproduce your issue we need a completed demo.
Please, make it and attach here.
Guide of creating demo:
docs.dhtmlx.com/doku.php?id=othe … leted_demo
Put your doctype in there.
My code.
If I user DTD, Scroll slider is tremble.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf8" />
<script>window.dhx_globalImgPath = "js/dhtmlx/combo/imgs/";</script>
<link rel="STYLESHEET" type="text/css" href="js/dhtmlx/combo/dhtmlxcombo.css">
<script src="js/dhtmlx/combo/dhtmlxcommon.js"></script>
<script src="js/dhtmlx/combo/dhtmlxcombo.js"></script>
<script src="js/dhtmlx/combo/ext/dhtmlxcombo_whp.js" type="text/javascript"></script>
<script src="js/dhtmlx/combo/ext/dhtmlxcombo_extra.js"></script>
</head>
<body>
<div>
<div id="person_id" name="person_id" style="width:350px; height:30px;"></div>
<script>
var z = new dhtmlXCombo("person_id", "person_id", 350);
z.enableFilteringMode(true, "person.php", true, false);
z.setOptionHeight(340);
</script>
</div>
</body>
</html>
If I use this code without DTD - it’s work fined.
Where is my bug?
My browser - IE8, I can’t change another browser.
We’ve checked your sample locally in IE8. Everything works as well as in other browsers. Haven’t any trembling.
So, if in IE8 and IE9 I not use compatibility mode - yes it’s work. But if I use it - slider is tremble.
In Opera - It’s work.
I think is problem with compatibility mode.
So, can We solve this? (with compatibility mode)
Ok, I solved my problem.
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8,IE=Edge"/>
But…
But if I use content=“IE=EmulateIE7,IE=Edge” - slider is tremble.
Is it bug?
We can’t reproduce this issue: any trembling isn’t found.
Could you attach COMPLETED demo of video with your issue?
docs.dhtmlx.com/doku.php?id=othe … leted_demo
We managed to reproduce a small trembling in IE7, but it doesn’t so terrible as you have. Most likely it is a IE7 bug. In later versions of IE - all OK.
Combo component doesn’t do any manipulations with the scroll. It is browser reaction.
Ок.