GeezerVison is showing github.com — Blocks appearing above fixed toolbox/flyout · Issue #152 · scratchfoundation/scratch-blocks
Blocks appearing above fixed toolbox/flyout #152DescriptionThis only seems to happen with the fixed one, not the pop-out show/hide one. Can we just set a z-index or something? Activitytmickel commented on Mar 29, 2016 ContributorAuthor More actions tmickel commented on Mar 30, 2016 ContributorAuthor More actions One potential solution seems to be reordering the g elements so that blocklyBlockCanvas appears before the flyout. drigz commented on May 16, 2016 The downside of reordering the elements is that you could then hide your program behind the toolbox. A better (although more complicated) solution is adjusting the workspace metrics when there's a fixed flyout so that the flyout is not included, in a similar way to how the toolbox is excluded. This also needs a change to exclude dragging blocks from the metrics in getBlocksBoundingBox, or the workspace will jump when a block is dragged from the flyout, as it is first created outside the visible area of the workspace. tmickel commented on May 16, 2016 ContributorAuthor More actions That makes a lot of sense to me :) I think we'll be wanting to rework a bunch of the stuff with the fixed flyout as we're building more flyout options for Scratch. Thanks for doing the investigation! tmickel commented on Sep 30, 2016 ContributorAuthor More actions Should be resolved by the Scratch-style toolbox.
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|