Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

Conversation

@crisbeto
Copy link
Member

  • Allows for a function to be passed to the withOffsetX and withOffsetY methods which will help when trying to determine the offset dynamically.
  • Switches to assigning the offset before the position, in order to avoid tiny jumps in the UI on slower browsers.

Fixes#9608.

@crisbetocrisbeto added the needs: review This PR is waiting on review from the team label Sep 15, 2016
@ThomasBurleson
Copy link
Contributor

@ErinCoughlan - ping for review.

Copy link
Contributor

@ErinCoughlanErinCoughlan left a comment

Choose a reason for hiding this comment

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

LGTM

* Sets the value of the offset in the x-direction. This will add to any
* previously set offsets.
* @param{string} offsetX
* @param{string|Function(MdPanelPosition): string} offsetX
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: Function -> function

@ThomasBurlesonThomasBurleson added needs: presubmit and removed needs: review This PR is waiting on review from the team labels Sep 15, 2016
* Allows for a function to be passed to the `withOffsetX` and `withOffsetY` methods which will help when trying to determine the offset dynamically. * Switches to assigning the offset before the position, in order to avoid tiny jumps in the UI on slower browsers. Fixesangular#9608.
@crisbetocrisbetoforce-pushed the 9608/panel-offset-function branch from 55c6a74 to 480b00dCompareSeptember 16, 2016 05:34
@crisbetocrisbeto mentioned this pull request Sep 19, 2016
3 tasks
@jelbournjelbourn merged commit 0896ba3 into angular:masterSep 21, 2016
Frank3K pushed a commit to Frank3K/material that referenced this pull request Oct 8, 2016
…ar#9615) * Allows for a function to be passed to the `withOffsetX` and `withOffsetY` methods which will help when trying to determine the offset dynamically. * Switches to assigning the offset before the position, in order to avoid tiny jumps in the UI on slower browsers. Fixesangular#9608.
Sign up for freeto 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.

5 participants

@crisbeto@ThomasBurleson@ErinCoughlan@jelbourn@bradrich