-
I often see different priority numbers and 100500 in the example. Could you tell how it affects the components with this attribute? Also the similar question about 'estimatedWidth'. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi! Both properties affects how menu items collapse into "more" and burger, in case they doesn't fit. |
Beta Was this translation helpful? Give feedback.
Hi! Both properties affects how menu items collapse into "more" and burger, in case they doesn't fit.
EstimatedWidth should specify width of the menu item. We ask to set this manually, as measuring items programmatically is tricky, and cause double-rendering.
Priority defines the order in which items collapse. Items with lower priority would collapse first. You can set equal priorities to collapse certain items simultaneously.
100500 is a number we often use to set some really big number. It's originates from a meme.