<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Mifjs forum — Mif.Tree, Mif.Menu - Bug on rows highlighting]]></title>
	<link rel="self" href="http://www.mifjs.net/forum/feed/atom/topic/143/"/>
	<updated>2009-05-21T15:31:35Z</updated>
	<generator>PunBB</generator>
	<id>http://mifjs.net/forum/topic/143/</id>
		<entry>
			<title type="html"><![CDATA[Re: Bug on rows highlighting]]></title>
			<link rel="alternate" href="http://mifjs.net/forum/post/540/#p540"/>
			<content type="html"><![CDATA[useless]]></content>
			<author>
				<name><![CDATA[moro]]></name>
				<email><![CDATA[creavenmoro@gmail.com]]></email>
				<uri>http://mifjs.net/forum/user/2/</uri>
			</author>
			<updated>2009-05-21T15:31:35Z</updated>
			<id>http://mifjs.net/forum/post/540/#p540</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Bug on rows highlighting]]></title>
			<link rel="alternate" href="http://mifjs.net/forum/post/539/#p539"/>
			<content type="html"><![CDATA[Why ^^ ?]]></content>
			<author>
				<name><![CDATA[Genova]]></name>
				<uri>http://mifjs.net/forum/user/75/</uri>
			</author>
			<updated>2009-05-21T15:22:54Z</updated>
			<id>http://mifjs.net/forum/post/539/#p539</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Bug on rows highlighting]]></title>
			<link rel="alternate" href="http://mifjs.net/forum/post/538/#p538"/>
			<content type="html"><![CDATA[Mif.Tree.Row totaly removed [url=http://code.google.com/p/miftree/source/detail?r=89]rev89[/url]]]></content>
			<author>
				<name><![CDATA[moro]]></name>
				<email><![CDATA[creavenmoro@gmail.com]]></email>
				<uri>http://mifjs.net/forum/user/2/</uri>
			</author>
			<updated>2009-05-21T15:21:23Z</updated>
			<id>http://mifjs.net/forum/post/538/#p538</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Bug on rows highlighting]]></title>
			<link rel="alternate" href="http://mifjs.net/forum/post/537/#p537"/>
			<content type="html"><![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 !]]></content>
			<author>
				<name><![CDATA[Genova]]></name>
				<uri>http://mifjs.net/forum/user/75/</uri>
			</author>
			<updated>2009-05-21T13:49:37Z</updated>
			<id>http://mifjs.net/forum/post/537/#p537</id>
		</entry>
</feed>

