<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Extension with bootstrap.js/.css issues in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Extension-with-bootstrap-js-css-issues/m-p/820733#M2747</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, yours is the professional solution. I will try this later but need to get into the topic a bit more.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At the moment, I did a raw hack of the bootstrap.css file where I deleted all except what I (guessed) is needed for my extension.. &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Mar 2015 21:25:17 GMT</pubDate>
    <dc:creator>rbecher</dc:creator>
    <dc:date>2015-03-17T21:25:17Z</dc:date>
    <item>
      <title>Extension with bootstrap.js/.css issues</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Extension-with-bootstrap-js-css-issues/m-p/820729#M2743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I use bootstrap in an extension but it creates a lot of layout issues if I switch into edit mode. Labels disappear or get smaller:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="bootstrap1.PNG" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/81003_bootstrap1.PNG" style="height: auto;" /&gt;&lt;IMG alt="bootstrap2.PNG" class="jive-image image-2" height="400" src="https://community.qlik.com/legacyfs/online/81004_bootstrap2.PNG" style="height: 399.852px; width: 173px;" width="173" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea? I think this is some AngularJS/bootstrap intolerance..&lt;/P&gt;&lt;P&gt;- Ralf&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Mar 2015 16:22:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Extension-with-bootstrap-js-css-issues/m-p/820729#M2743</guid>
      <dc:creator>rbecher</dc:creator>
      <dc:date>2015-03-17T16:22:09Z</dc:date>
    </item>
    <item>
      <title>Re: Extension with bootstrap.js/.css issues</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Extension-with-bootstrap-js-css-issues/m-p/820730#M2744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ralf,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;that's a tricky one, but solved it in some extensions.&lt;/P&gt;&lt;P&gt;The best way I have come up with is to "scope" the Bootstrap CSS to only the CSS namespace of your extensions, so that all classes only work within the CSS-class of your extension. So you have to re-create the Bootstrap CSS ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It would also work with .class:scope (&lt;A href="https://developer.mozilla.org/en-US/docs/Web/CSS/:scope" title="https://developer.mozilla.org/en-US/docs/Web/CSS/:scope"&gt;:scope - CSS | MDN&lt;/A&gt;) but unfortunately this is not widely supported yet, actually only Firefox (&lt;A href="http://caniuse.com/#search=scope" title="http://caniuse.com/#search=scope"&gt;http://caniuse.com/#search=scope&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another way I am using in smaller extensions is just to create a subset of the needed classes, buttons, etc. for usage in my extension. The full Bootstrap CSS is overkill anyhow since some concepts (e.g. Grid-system) conflicts with the CSS-concept of Qlik Sense.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hmm, let's see if I can add an example to my &lt;A href="https://github.com/stefanwalther/qsExtensionPlayground"&gt;qsExtensionPlayground&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps a bit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Mar 2015 16:30:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Extension-with-bootstrap-js-css-issues/m-p/820730#M2744</guid>
      <dc:creator>Stefan_Walther</dc:creator>
      <dc:date>2015-03-17T16:30:56Z</dc:date>
    </item>
    <item>
      <title>Re: Extension with bootstrap.js/.css issues</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Extension-with-bootstrap-js-css-issues/m-p/820731#M2745</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stefan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for your advice! I followed your hint to create a subset of the needed classes. But this is real hard work since it is not very obvious what to keep ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Ralf&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Mar 2015 19:07:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Extension-with-bootstrap-js-css-issues/m-p/820731#M2745</guid>
      <dc:creator>rbecher</dc:creator>
      <dc:date>2015-03-17T19:07:18Z</dc:date>
    </item>
    <item>
      <title>Re: Extension with bootstrap.js/.css issues</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Extension-with-bootstrap-js-css-issues/m-p/820732#M2746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;actually it's not too hard, have a look here:&lt;/P&gt;&lt;P&gt;&lt;A class="loading" href="http://www.qlikblog.at/3245/using-bootstrap-css-in-qlik-sense-visualization-extensions/" style="font-size: 10pt; line-height: 1.5em;" title="http://www.qlikblog.at/3245/using-bootstrap-css-in-qlik-sense-visualization-extensions/"&gt;http://www.qlikblog.at/3245/using-bootstrap-css-in-qlik-sense-visualization-extensions/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sample solution here: &lt;A class="loading" href="https://github.com/stefanwalther/qsExtensionPlayground/tree/master/Bootstrap" title="https://github.com/stefanwalther/qsExtensionPlayground/tree/master/Bootstrap"&gt;https://github.com/stefanwalther/qsExtensionPlayground/tree/master/Bootstrap&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Mar 2015 20:42:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Extension-with-bootstrap-js-css-issues/m-p/820732#M2746</guid>
      <dc:creator>Stefan_Walther</dc:creator>
      <dc:date>2015-03-17T20:42:39Z</dc:date>
    </item>
    <item>
      <title>Re: Extension with bootstrap.js/.css issues</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Extension-with-bootstrap-js-css-issues/m-p/820733#M2747</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, yours is the professional solution. I will try this later but need to get into the topic a bit more.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At the moment, I did a raw hack of the bootstrap.css file where I deleted all except what I (guessed) is needed for my extension.. &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Mar 2015 21:25:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Extension-with-bootstrap-js-css-issues/m-p/820733#M2747</guid>
      <dc:creator>rbecher</dc:creator>
      <dc:date>2015-03-17T21:25:17Z</dc:date>
    </item>
    <item>
      <title>Re: Extension with bootstrap.js/.css issues</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Extension-with-bootstrap-js-css-issues/m-p/820734#M2748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Btw. why not posting the file scoped-bootstrap.css itself here or in Branch?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Ralf&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Mar 2015 21:32:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Extension-with-bootstrap-js-css-issues/m-p/820734#M2748</guid>
      <dc:creator>rbecher</dc:creator>
      <dc:date>2015-03-17T21:32:28Z</dc:date>
    </item>
    <item>
      <title>Re: Extension with bootstrap.js/.css issues</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Extension-with-bootstrap-js-css-issues/m-p/820735#M2749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt; Here's the link to it: &lt;A href="https://github.com/stefanwalther/qsExtensionPlayground/blob/master/Bootstrap-Clash/src/lib/css/scoped-bootstrap.css" title="https://github.com/stefanwalther/qsExtensionPlayground/blob/master/Bootstrap-Clash/src/lib/css/scoped-bootstrap.css"&gt;qsExtensionPlayground/scoped-bootstrap.css at master · stefanwalther/qsExtensionPlayground · GitHub&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Mar 2015 07:49:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Extension-with-bootstrap-js-css-issues/m-p/820735#M2749</guid>
      <dc:creator>Stefan_Walther</dc:creator>
      <dc:date>2015-03-18T07:49:27Z</dc:date>
    </item>
  </channel>
</rss>

