Fixed #4740 - SpeedDial: unstyled implementation defect breaks the calculations
parent
69a3a57df3
commit
bba5d21060
|
@ -88,7 +88,7 @@ export default {
|
||||||
this.id = this.id || UniqueComponentId();
|
this.id = this.id || UniqueComponentId();
|
||||||
|
|
||||||
if (this.type !== 'linear') {
|
if (this.type !== 'linear') {
|
||||||
const button = DomHandler.findSingle(this.container, '[data-pc-section="button"]');
|
const button = DomHandler.findSingle(this.container, '[data-pc-name="button"]');
|
||||||
const firstItem = DomHandler.findSingle(this.list, '[data-pc-section="menuitem"]');
|
const firstItem = DomHandler.findSingle(this.list, '[data-pc-section="menuitem"]');
|
||||||
|
|
||||||
if (button && firstItem) {
|
if (button && firstItem) {
|
||||||
|
|
Loading…
Reference in New Issue