<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Mifjs forum — Mif.Tree, Mif.Menu - Bug on rows highlighting]]></title>
		<link>http://mifjs.net/forum/topic/143/</link>
		<description><![CDATA[The most recent posts in Bug on rows highlighting.]]></description>
		<lastBuildDate>Thu, 21 May 2009 15:31:35 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Bug on rows highlighting]]></title>
			<link>http://mifjs.net/forum/post/540/#p540</link>
			<description><![CDATA[useless]]></description>
			<author><![CDATA[creavenmoro@gmail.com (moro)]]></author>
			<pubDate>Thu, 21 May 2009 15:31:35 +0000</pubDate>
			<guid>http://mifjs.net/forum/post/540/#p540</guid>
		</item>
		<item>
			<title><![CDATA[Re: Bug on rows highlighting]]></title>
			<link>http://mifjs.net/forum/post/539/#p539</link>
			<description><![CDATA[Why ^^ ?]]></description>
			<author><![CDATA[dummy@example.com (Genova)]]></author>
			<pubDate>Thu, 21 May 2009 15:22:54 +0000</pubDate>
			<guid>http://mifjs.net/forum/post/539/#p539</guid>
		</item>
		<item>
			<title><![CDATA[Re: Bug on rows highlighting]]></title>
			<link>http://mifjs.net/forum/post/538/#p538</link>
			<description><![CDATA[Mif.Tree.Row totaly removed [url=http://code.google.com/p/miftree/source/detail?r=89]rev89[/url]]]></description>
			<author><![CDATA[creavenmoro@gmail.com (moro)]]></author>
			<pubDate>Thu, 21 May 2009 15:21:23 +0000</pubDate>
			<guid>http://mifjs.net/forum/post/538/#p538</guid>
		</item>
		<item>
			<title><![CDATA[Bug on rows highlighting]]></title>
			<link>http://mifjs.net/forum/post/537/#p537</link>
			<description><![CDATA[Hi, i saw a bug in your tree with highlighting function. How to reproduce :

1) Go on the demo and select "Tree row highlighting." demo

2) Use Firebug to inspect the "drag me! sorry imposible" node and update the text with a long text, for example "drag me! sorry imposible, holy shit it seems we have a bug". We just want to have an horizontal scroll bar.

3) Now open some nodes to have a vertical scrollbar.

4) Go to the bottom of your tree, and you'll see that mouse and row highlighting are not sync.

Why ? Because your "mif-tree-wrapper" div will have a horizontal scrollbar and your "mif-tree-row-wrapper" will not.
And when you do :
[code]        wrapper.addEvent('scroll', function(event){//sync scroll
            rowWrapper.scrollTop=wrapper.scrollTop;
        });[/code]
the two "scrollTop" will not be the same, because of the horizontal scrollbar.

How to fix ? In the function wich bind the node ID from the mouse position, when the two "scrollTop" values are different, just do something like that : [b]this.mouse.y -= 17[/b] to resync.

Bye, and thanks for this awesome tree !]]></description>
			<author><![CDATA[dummy@example.com (Genova)]]></author>
			<pubDate>Thu, 21 May 2009 13:49:37 +0000</pubDate>
			<guid>http://mifjs.net/forum/post/537/#p537</guid>
		</item>
	</channel>
</rss>

