mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-23 14:01:20 +08:00
@ -339,6 +339,11 @@ class PopoverTransition extends Transition {
|
|||||||
var arrowWidth = arrowDim.width;
|
var arrowWidth = arrowDim.width;
|
||||||
var arrowHeight = arrowDim.height;
|
var arrowHeight = arrowDim.height;
|
||||||
|
|
||||||
|
// If no ev was passed, hide the arrow
|
||||||
|
if (!targetDim) {
|
||||||
|
arrowEle.style.display = 'none';
|
||||||
|
}
|
||||||
|
|
||||||
let arrowCSS = {
|
let arrowCSS = {
|
||||||
top: targetTop + targetHeight,
|
top: targetTop + targetHeight,
|
||||||
left: targetLeft + (targetWidth / 2) - (arrowWidth / 2)
|
left: targetLeft + (targetWidth / 2) - (arrowWidth / 2)
|
||||||
|
Reference in New Issue
Block a user