Opened 8 years ago

Closed 8 years ago

Last modified 7 years ago

#1284 closed defect (fixed)

Editor 2 scrollThreshold

Reported by: b at cce dot ac dot nz Owned by: liucougar
Priority: high Milestone:
Component: Widgets Version: 0.3
Keywords: Cc:
Blocked by: Blocking:

Description

When initialising _scrollThreshold for the Toolbar Always Visible, Editor2 gets it wrong sometimes when page is reloaded.

Looks like it is just because it is not factoring in the window scroll position.

Changing line 162 (dojo 0.3.1) from
this._scrollThreshold = ds.abs(tdn, false).y;

to
this._scrollThreshold = ds.abs(tdn, true).y;

seems to fix it.

Change History (3)

comment:1 Changed 8 years ago by liucougar

  • Status changed from new to assigned

comment:2 Changed 8 years ago by liucougar

  • Priority changed from high to normal
  • Resolution set to fixed
  • Status changed from assigned to closed

this should have been fixed in the new editor2

if not, please reopen this

comment:3 Changed 7 years ago by anonymous

  • Milestone 0.4 deleted

Milestone 0.4 deleted

Note: See TracTickets for help on using tickets.