fix(tooltip): changing direction causes invalid position (#11087)
fix(tooltip): changing direction causes invalid position (#11087)

Providing the initial origin through the `panelClass` of the panel is not the right approach. `mdPanel` remembers the original panel configuration and the provided `panelClass` and will restore it when the element is reused. This results in the new origin and the default (bottom) origin style to be placed on the element.

Fixes #10405
ServiceManagementGroup/material,miguelcobain/material,hayloft/material,bluebirdtech/material,ServiceManagementGroup/material,ServiceManagementGroup/material,bluebirdtech/material,imjoeco/material,angular/material,crisbeto/material,bluebirdtech/material,bluebirdtech/material,hayloft/material,oostmeijer/material,Splaktar/material,hayloft/material,Splaktar/material,imjoeco/material,oostmeijer/material,clshortfuse/material,marekmicek/material,Splaktar/material,clshortfuse/material,imjoeco/material,Splaktar/material,crisbeto/material,imjoeco/material,miguelcobain/material,angular/material,angular/material,miguelcobain/material,oostmeijer/material,crisbeto/material,marekmicek/material,clshortfuse/material,marekmicek/material,hayloft/material,angular/material,crisbeto/material,vertazzar/material,vertazzar/material,marekmicek/material,ServiceManagementGroup/material,vertazzar/material,vertazzar/material,oostmeijer/material,clshortfuse/material,miguelcobain/material