Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Oracle JET 8.0 oj-avatar messed up in IE11

Thien TranFeb 17 2020 — edited Feb 20 2020

Hi everyone, I am having some problems when migrating my application from Oracle JET 6.2 to Oracle JET 8.0.

The problem is that, I am using <oj-avatar> inside a <table> like this

              \<table>

                \<tr>

                    \<td class="avatar-member-wrapper">

                        \<oj-avatar class="avatar-member" size="md" initials="\[\[$parent.getNameInitials($data)\]\]" />

                    \</td>

                    \<td>

                        \<table>

                            \<tr class="info-item">

                                \<div class="member-absence-name">

                                    \<oj-bind-text value="\[\[fullName\]\]">\</oj-bind-text>

                                \</div>

                            \</tr>

                            \<tr class="info-item">

                                \<oj-bind-text

                                    value="\[\[calculation here\]\]">

                                \</oj-bind-text>

                            \</tr>

                            \<tr class="info-item">

                                \<oj-bind-text value="\[\[absence reason here\]\]">\</oj-bind-text>

                            \</tr>

                            \<tr class="info-item">

                                \<oj-bind-text value="\[\[get date here\]\]">\</oj-bind-text>

                            \</tr>

                        \</table>

                    \</td>

                \</tr>

            \</table>

On Chrome and Firefox, it works normally as expected. However, on IE11, it messes up the layout where the latter <td> is a child of the first <td> like this pastedImage_2.png.

So instead of this (on Chrome)pastedImage_3.png, we get this instead pastedImage_4.png.

I've found a temporary workaround for this problem, that is to surround the <oj-avatar> with an empty <div>, and everything is OK.

Side notes, when I tested on a fresh Oracle JET 8.0 application, this does not happen. Also, this part is inside an <oj-filmstrip>, which is a part of a Custom Web Component. Moreover, I have tried removing all the CSS classes, and the problem still persists.

If you need any further information, please do let me know.

Thanks in advance,

Cheers

Thien

This post has been answered by John JB Brock-Oracle on Feb 20 2020
Jump to Answer
Comments
Post Details
Added on Feb 17 2020
5 comments
210 views