Tooltip appended at end of body

UI Components for Vue
Post Reply
avenmore
Posts: 17
Joined: 09 Nov 2020, 07:03

27 Dec 2020, 15:14

When using the tooltip directive, no matter what element I used it on, I found that the tooltip was appended at the end of body and so showed below my flex-column root component.

I fixed it by adding style:

Code: Select all

.p-tooltip{
  position:absolute;
}
Should this style be included by default?

Additional feature request: configure time delay until popup. Currently it is hard-coded to 250ms.

Vue 3.0.4
PrimeVue v3.1.1

avenmore
Posts: 17
Joined: 09 Nov 2020, 07:03

09 Jan 2021, 17:17

I started to find more problems with missing css (classes clearly in demo site but not in my app), then happened to re-read the "Getting Started" pages and noticed under the Styles sections that I was missing this import.

Code: Select all

import "primevue/resources/primevue.min.css"; //core css
Added that and all my style anomalies went away.

Post Reply

Return to “PrimeVue”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 11 guests