Applying bootstrap in spfx extensions

%3CLINGO-SUB%20id%3D%22lingo-sub-1358422%22%20slang%3D%22en-US%22%3EApplying%20bootstrap%20in%20spfx%20extensions%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1358422%22%20slang%3D%22en-US%22%3E%3CP%3EI%20have%20built%20a%20mega%20menu%20in%20the%20top%20placeholder%20using%20spfx%20extension.%20To%20bring%20the%20stylingin%20menu%20I%20have%20applied%20bootstrap%20v4%20library(css%20and%20js).%20These%20menu%20have%20links%20to%20sharepoint%20list.%20But%20the%20problem%26nbsp%3B%20here%20is%20the%20list%20title%20and%20first%20row%20in%20the%20list%20disappears%20when%20seen%20in%20my%20desktop%2Flaptop.%20But%20when%20viewed%20in%20mobile%20%2Ftable%20%2C%20the%20list%20title%20name%20appears.%26nbsp%3B%20I%20have%20attached%20screenshot%20of%20how%20the%20sharepoint%20list%20looks%20like.%26nbsp%3B%3C%2FP%3E%3CP%3ECould%20you%20provide%20your%20suggestions%20to%20fix%20the%20issue.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CDIV%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

I have built a mega menu in the top placeholder using spfx extension. To bring the stylingin menu I have applied bootstrap v4 library(css and js). These menu have links to sharepoint list. But the problem  here is the list title and first row in the list disappears when seen in my desktop/laptop. But when viewed in mobile /table , the list title name appears.  I have attached screenshot of how the sharepoint list looks like. 

Could you provide your suggestions to fix the issue.

 

 
 
 

 

1 Reply
Hi, the best practice is to use office-ui-fabric styles for SharePoint Online, since the out-of-box is using the same. Using bootstrap will put you in a tough spot, the design will have a huge impacts on the existing out-of-box component.
My suggestion is to use fabric nav component with the callout to show the submenus.

Hope it helps, please like it or mark it as a solution if it resolves ur clarification or issue
-Sudharsan K...