udnp / iitc-plugins

MY DIY IITC plug-in: COMM Filter
9 stars 5 forks source link

scroll position problem on switched to mini COMM mode #8

Closed udnp closed 8 years ago

udnp commented 8 years ago

When logs are not full in the COMM area, this problem occurs. This problem is that vertical scroll position is on the top of the COMM and it is seems that logs disappear in the mini COMM area.

1) expanded the COMM. 2) minimized the COMM. 3) this problem occurs.

udnp commented 8 years ago

It is not enough to fix this problem by commit f70bae4. After that commit, there is a problem that in the mini COMM view it is not possible to scroll COMM when logs are less than 3 lines.

udnp commented 8 years ago

In order to fix this another problem, like in the window.chat.keepScrollPosition() overridden by plugin.commfilter, it needs to be added operation to fit a logs table DOM area to parent DOM after window.chat.toggle() excuted.

udnp commented 8 years ago

fixed by commit 659a15049d55610d49147b5db38607a871a3fa1f.