Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

T/191: Merged FloatingPanelView into BalloonPanelView #197

Merged
merged 12 commits into from
Apr 10, 2017
Merged

Conversation

oleq
Copy link
Member

@oleq oleq commented Apr 10, 2017

Suggested merge commit message (convention)

Other: Merged FloatingPanelView into BalloonPanelView. Closes ckeditor/ckeditor5#5334.

BREAKING CHANGE: FloatingPanelView is no longer available.
BREAKING CHANGE: BalloonPanelView#keepAttachedTo has been replaced by pin().
BREAKING CHANGE: Default position names in BalloonPanelView.defaultPositions have changed. Now prefixed with arrow_.


Requires ckeditor/ckeditor5-utils#147.

if ( this._pinWhenIsVisibleCallback ) {
// Deactivate listeners attached by pin().
this.stopListening( global.document, 'scroll' );
this.stopListening( global.window, 'resize' );
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can use this._stopPinning()

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Merge FloatingPanelView into BalloonPanelView so only a single class remains
2 participants