animate() function in FireFox whenever content has scrollbars. I've
taken a hidescrollbars-animate-showscrollbars workaround. Since most
same bad fate.
> Yes, this is a bigproblem. But, i donīt know a solution. I wrote two
> workarounds for that.
> 1. disable scrolbar on body + add padding-right in the size of the
> scrollbar width (has to dynamically calclated) for the time theanimationoccurs. between disabling scrollbar and callingslideuphas
> to be a short delay, so that ff can render the disabled scrollbar
> before animating.
> pro:
> - although this sounds very obtrusive, the delayed scrollbar change isn
> īt noticed by normal users
> - this could be easily generalized
> con:
> sometimes the bad effect still happens (if someone knows a reason for
> this, plz tell me)
> 2. animate the scrolltop of body at the same time to scroll up
> pro:
> - if you make the upscrplling a little faster than theslideup, the
> effect doesnīt appear
> con:
> - you canīt generate a generalized code to do this. (multi-colum
> layout etc....)
> On 22 Dez., 12:39, "Peter Wright" <Peter.Wri...@Renishaw.com> wrote:
> > Hello,
> > Has anyone else ever noticed a rather disgusting scrollbar redraw
> > causing a page to flicker when the content shrinks in size (usually
> > triggered bySlideUp())?
> > This occurs when the document's height is reduced gradually causing the
> > viewport's view to be invalid multiple times a second. so the scrollbar
> > has to be redrawn to handle where the viewport's location matches the
> > bottom of the page. If anyone knows of a graceful solution to implement
> > handling a cleanslideUpwhen the viewport is near the document bottom I
> > would much appreciate it, perhaps something to be considered in the 1.4
> > release?
> > Kind regards,
> > Peter Wright
> > --------------------------------------------------------------------------- -----------------------
> > This email and any attachments are confidential and are for the use of the addressee only. If you are not the addressee, you must not use or disclose the contents to any other person. Please immediately notify the sender and delete the email. Statements and opinions expressed here may not represent those of the company. Email correspondence is monitored by the company. This information may be subject to Export Control Regulation. You are obliged to comply with such Regulations
> > The parent company of the Renishaw Group is Renishaw plc, registered in England no. 1106260. Registered Office: New Mills, Wotton-under-Edge, Gloucestershire, GL12 8JR, United Kingdom. Tel +44 (0) 1453 524524
> > --------------------------------------------------------------------------- -----------------------